Note that sides AD and BE are perpendicular on the same side AC. So the angles CAD and CBE, both are equal to 90 degrees.
Beig the corresponding angles, ADC and BEC are also equal.
And the angle ACD is the common angle in both the triangles.
Therefore by the AAA criteria, the triangles CAD and CBE are similar.
So their corresponding sides must be proportional,