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

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