This question was asked in Ex 10.5, 12

Construct a right triangle whose base is 12 cm and sum of hypotenuse and other side is 18 cm

Adi Bhai's image