Let

is a right-angled triangle. A circle

, passing through

, with center lying on the hypothenuse

, tangent to the cathetus

at the point

, intersects the cathetus

at the point

.

intersects

at the point

.

is the intersection point of the line

and

. Prove that

is the middle of the segment

.