can someone please explain how to find x in this trapezoid

Answer:
5x - 20 is the length of the median
The length of the median = (short side + long side) / 2
5x -20 = (2x +6 + 4x + 2) / 2
5x -20 = (6x +8) / 2
10x -40 = 6x + 8
4x = 48
x = 12
Step-by-step explanation: