We can always set up a coordinate system such that the vertices of the triangle are at (0, 0), (a, 0), and (b, c). One side is the horizontal line y= 0 and the altitude on that side is x= b. Another side is y= cx/b. Any line perpendicular to that has slope -b/c. The altitude on that side must pass through (a, 0) so has equation y= -b(x- a)/c. The third side has equation y= c(x- a)/(b- a) so has slope c/(b- a). Any line perpendicular to that has slope (a- b)/c. The altitude on that side must go through (0, 0) so has equation y= (a- b)x/c.

Show that there exist a unique (x, y) satisfying x= b. y= -b(x- a)/c, and y= (a- b)x/c.