x=15. This is the Altitude theorem which is Altitude/Part = Altitude/Other part. In this question you would set up the proportion 9/X = X/25 and multiply cross products to get 225=X^2. Then you undo X^2 by doing the square route of 225 and then you get 15 as the final answer.