Artificial intelligent assistant

Trigonometry Problem Solving How can we estimate the height (h) of a castle surrounded by a moat, using the info below? !enter image description here

I assume that's supposed to be $50^\circ,$ not just $50$. Let $x$ be the distance (in meters) from the closer viewing point to the castle wall, so that the distance to the further viewing point is $x+45$ meters. Use SOHCAHTOA on the two right triangles and solve the system of two equations in $x$ and $h$ for the variable $h$. (Don't estimate until the very end.)

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy d1cf962fc6b5e70466927a9b388c9c0e