We know that, if a perpendicular is drawn from the vertex of the right angle of a right angled triangle to the hypotenuse, then triangles on both sides of the perpendicular are similar to the whole triangle and to each other.
△ADB∼△ABC
If two triangles are similar, then their corresponding sides are proportional.