Medians $\overline{AX}$ and $\overline{BY}$ of $\triangle ABC$ are perpendicular at point $G$. Prove that $AB = CG$.
In your diagram, $\angle AGB$ should appear to be a right angle.
I've drawn the diagram, but I don't have anything in mind.
The median on the hypotenuse of a right triangle equals one-half the hypotenuse.
In triangle $AGB$ $\angle AGB=90^{\circ}$ then $GM=MA=MB=\frac12AB \Rightarrow AB=2GM$
The centroid divides each median into two segments, the segment joining the centroid to the vertex multiplied by two is equal to the length of the line segment joining the midpoint to the opposite side.
$CG:GM=2:1 \Rightarrow CG=2GM$.
Hence, $$CG=AB$$