Question 21In a trapezoid, the midsegment has length $17$ and the distance between the midpoints of the diagonals is $7$. Find the lengths of the bases.