The large right triangle and the smaller right triangle on the left are similar triangles. For a better understanding, see image attached.
Make a comparison.The proportion of corresponding sides in similar triangles are the same.
Input the numbers
Do cross multiplication
x² = 25 × 9
x² = 225
x = √225
x = 15
The value of x is 15