In Exercises $45-56,$ set up appropriate systems of two linear equations in two unknowns and then solve the systems by determinants. All numbers are accurate to at least two significant digits.
A surveyor measures the angle of elevation to the top of a hill to be $15.5^{\circ} .$ He then moves $345 \mathrm{ft}$ closer, on level ground, and remeasures the angle of elevation to be $21.4^{\circ}$ (see Fig. 5.36 ). Find the height $h$ of the hill and the distance $d .$ Hint: Use the tangent function to set up a system of equations.