Hobbyists often compete with their model rockets to determine which rocket flies the highest. On one test launch, a rocket was fired vertically upward. The angle of elevation to the top of the flight was measured from two points that were 20 m apart, on the same side of the launch site, and collinear with it. The angles measured at the two points were $66$ degrees and $37$ degrees. How high did the rocket fly, to the nearest metre?
I drew a diagram with the base floor, and a rocket flying upward, with two points on the same ground level of the floor, and a line from one point to another showing that the distance is $20~\text{m}$.
I then measured $\tan 66^\circ = h/x$, and $\tan 37^\circ = h/(20 - x)$, and solved the system of equations. I got the wrong answer though, and even verified in wolframalpha, verifying the fact that I did indeed get a wrong answer.
I looked for solutions online and people say they differentiate between the two lengths of the points as $x - 20$, and $x$, as opposed to $x$ and $20 - x$, wouldn't it be $20 - x$, and $x$, since $(20 - x) + x = 20$, which is the sum of the two sides, as opposed to $(x - 20) + x = 2x - 20$? I'm getting the wrong answers when having $20 - x$, but the right answers when having $x - 20$. Can anyone help me out here?
Thanks!