4. (7th grade) The bases of the trapezoid are equal to $a$ and $b$. Find the segment of the line connecting the midpoints of its diagonals ($a>b$).
4. Use the property of the midline of a triangle. Answer: $\frac{a-b}{2}$.