Answer
$443.2\text{ m}$
$323.3\text{ m}$
Work Step by Step
Let $x$ be the height from the ground to the 86th floor and $y$ the distance between you and your friend..
$\tan 82^\circ=\frac{x}{45}$
We determine $x$:
$x=45\cdot 7.115\approx 320.2$
The height of the building is:
$320.2+123=443.2\text{ m}$
We calculate the distance between you and your friend
$\cos 82^\circ=\frac{45}{y}$
$y = \frac{45}{\cos 82^\circ}$
$y\approx 323.3\text{ m}$