Step 1: Draw the situation in words:
Let Manish stand at \(A\) on the ground. Let the kite be at \(B\), so \(AB = 200\) m and \(\angle BAE = 30^\circ\), where \(E\) is the point on the ground directly below the kite.
Let Mahesh be at \(D\) on the roof of the building, with \(DC = 50\) m and \(DC\) vertical. Draw \(DR\) parallel to the ground meeting \(BE\) at \(R\). Then \(RE = DC = 50\) m and \(\angle BDR = 45^\circ\).
Step 2: Find the height of the kite:
In right triangle \(AEB\), \(\sin 30^\circ = \dfrac{BE}{AB}\).
\[ \frac{BE}{200} = \frac{1}{2} \Rightarrow BE = 100\ \text{m} \]
Step 3: Find how much higher the kite is than Mahesh:
\[ BR = BE - RE = 100 - 50 = 50\ \text{m} \]
Step 4: Find the distance BD:
In right triangle \(BRD\), \(\sin 45^\circ = \dfrac{BR}{BD}\).
\[ \frac{50}{BD} = \frac{1}{\sqrt{2}} \Rightarrow BD = 50\sqrt{2}\ \text{m} \]
This is about 70.7 m.
Final Answer:
The kite is \(50\sqrt{2}\) m away from Mahesh.
\[ \boxed{50\sqrt{2}\ \text{m}} \]