Hello and thank you for the attention. I need urgent help with the following problem.

There is a trapezoid(ABCD). The points M, N, Q, P are the midpoints of the sides AB, BC, CD, DA. Find the perimeter of the trapezoid if the length of the trapezoid's median is 10 cm, and the perimeter of the parallelogram MNPQ = 18 cm.


Thank you very much indeed!