Use triangle A-B-P with the sine rule. AB = 1 km. The line AP makes \(45^\circ\) with the ground and AB makes \(30^\circ\), so \(\angle PAB = 45^\circ - 30^\circ = 15^\circ\).
At B, the direction BA points \(30^\circ\) below the horizontal (backwards) and BP points \(60^\circ\) above the horizontal (forwards), so \(\angle ABP = 180^\circ - 30^\circ = 150^\circ\) (BA is at \(210^\circ\) and BP at \(60^\circ\), a difference of \(150^\circ\)).
Then \(\angle APB = 180^\circ - 15^\circ - 150^\circ = 15^\circ\). By the sine rule, \(\frac{AP}{\sin 150^\circ} = \frac{AB}{\sin 15^\circ}\), so \(AP = \frac{1}{2\sin 15^\circ}\).
Height \(h = AP\sin 45^\circ = \frac{\sin 45^\circ}{2\sin 15^\circ}\), and \(\sin 15^\circ = \frac{\sqrt3 - 1}{2\sqrt2}\), so \(h = \frac{1/\sqrt2}{(\sqrt3 - 1)/\sqrt2} = \frac{1}{\sqrt3 - 1}\) km.
Answer: (1) \(\frac{1}{\sqrt{3} - 1}\)