Given an Isosceles triangle where in the altitude to the base is divided into lengths 7 and 9 by the orthocenter, what are the sides of the triangle.
I solved this using coordinate geometry using perpendicular lines for the slopes and such. the answer is that the legs are 20 and the base is 24.
I want to know another approach where in we do not use coordinate geometry, I have tried using similar triangles, using the orthocenter but I am stuck, I am thinking that we would use a property (?) of an orthocenter that I have ignored
from ITMO national parallel cluster, Philippines (does not affect the actual ITMO) awards have already been given out.

Hint: Consider $A,B,C$ to be vertices $E,F,G$ the respective perpendicular points to the vertices and $O$ the orthocenter. Notice $AOF$ is similar to $ACE$ and using this information you can find the lengths