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

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