[tex]\mathfrak{\huge{\pink{\underline{\underline{AnSwEr:-}}}}}[/tex]
Actually Welcome to the Concept of the trigonometry and Pythagoras theorem.
By applying the theorem we get as,
X = 15 units