This is a use of the so-called "Side-Splitterr" Theorem.
A line parallel to one side of a triangle splits the other sides into proportional segments.
Draw a figure and you will easily see that the point required is (6,10).
The longer segment of the hypotenuse is 6√5 and the smaller is 5√5.