
The boy was initially at point S. He walked towards the building and reached point T. It is observed that
PR = PQ − RQ = (30 − 1.5) m = 28.5 m = \( \frac{57}{2} \)m
In ∆PAR,
\( \frac{PR}{ AR} = \tan 30° \)
\( \frac{57}{ 2AR} = \frac{1}{\sqrt3} \)
\( AR = (\frac{57}{2 \sqrt3})m \)
In ∆PRB,
\( \frac{PR}{ BR} = \tan60° \)
\( \frac{57}{ 2BR} = \sqrt 3 \)
\( BR = \frac{57}{2\sqrt3} = (\frac{19\sqrt3}{2})\,m \)
ST = AB = AR- BR = \( (\frac{57/\sqrt3}{2} - \frac{19\sqrt3}{2} )\,m \)
= \( (\frac{38\sqrt3}2 ) \,m \) = \( 19\sqrt3 \,m \)
Therefore, he walked \( 19\sqrt3 \,m \) towards the building.