the idea being, that if we run an altitude segment from a right-angle in a triangle, and parallel to the opposite side, like in thise case, we end up with 3 similar triangles, a Large one, containing the other smaller ones, a Medium and a Small.
now, let's simply use proportions for those similar triangles.