Let $h$ be the unknown height of the tower. Let $d$ be the (equally unknown) distance from $P$, the point we first set up our equipment, to the base $B$ of the tower. Let $\theta$ be the measured angle of elevation. So in your case, $\theta$ is $26^\circ 50'$.
Draw the right-angled triangle $TBP$, where $T$ is the top of the tower. Then
$$\frac{h}{d}=\tan\theta.$$
Now repeat, letting $Q$ be the second point of measurement. The distance from $Q$ to the base of the tower is $d-25$. Let $\phi$ be the angle of elevation from $Q$. You were given $\phi$.
By the same reasoning as before, we have
$$\frac{h}{d-25}=\tan\phi.$$
We have two equations, in the two unknowns $h$ and $d$. We want to solve for $h$.
Take the reciprocal of each side of the first equation. We get
$$\frac{d}{h}=\frac{1}{\tan \theta}.\tag{$1$}$$
Similarly, take the reciprocal of each side of the second equation. We get
$$\frac{d-25}{h}=\frac{d}{h}-\frac{25}{h}=\frac{1}{\tan \phi}.\tag{$1$}$$
Look at the two equations $(1)$ and $(2)$. Subtract each side of $(2)$ from the corresponding side of $(1)$. We get
$$\frac{25}{h}=\frac{1}{\tan\theta}-\frac{1}{\tan\phi}.$$
Now solving for $h$ is just some algebra. We get
$$h=25\left(\frac{\tan\theta\tan\phi}{\tan\phi-\tan\theta} \right).\tag{$3$}$$
Remark: You asked about attempting what I would call a linear approximation. Good idea. I will not go through the details of how one might try to do it that way. The problem is that in surveying, we try to achieve very high standards of accuracy. A rough estimate is not good enough. And we don't have to settle for a rough estimate, since, at least to the standards of prcision of our measurements, we can get an "exact" answer from Formula $(3)$.
$$\frac{\text{height}}{\text{distance}}=\tan(63°)\quad\text{and}\quad\frac{\text{height}}{\text{distance}+130}=\tan(49°)$$
therefore
$$\begin{align}
&&\tan(63°)\times d&=d\times\tan(49°)+130\times\tan(49°)\\
\implies &&d&=\frac{130\times\tan(49°)}{(\tan(63°)-\tan(49°))}\\
\implies &&\text{height}&=\frac{\tan(63°)\times130\times\tan(49°)}{(\tan(63°)-\tan(49°))}
\end{align}$$
And that, my friend, is what you have ($\approx361.35$).
Best Answer
Let $h$ be the height of the UFO. If you consider the triangle $AUB$ you can find the $h$ as below:
$x=\frac{h}{\tan(23)}$ and $y=\frac{h}{\tan(30)}$.
$x+y=300 \rightarrow \frac{h}{\tan(30)}+\frac{h}{\tan(23)}=300$