Construct a right-angled triangle with hypotenuse on a given line

Bilgi: Construct a right-angled triangle with hypotenuse on a given line