What is the theorem that states a perpendicular line to the hypotenuse splits the triangle into two similar right triangles?

I forgot and I need this for statement-reason proof. an answer would be appreciated