First check attached image
By Pythagoras theorem,
Therefore, value of x is 5
5.2m questions
6.8m answers