✅ DETAILED SOLUTION
Step 1 Let h = total height of multi-storeyed building, d = distance between buildings.
Step 2 Angle of depression of bottom = 45° ⟹ tan 45° = h/d ⟹ d = h
Step 3 Angle of depression of top of 8m building = 30° ⟹ tan 30° = (h–8)/d
Step 4 1/√3 = (h–8)/h ⟹ h = √3(h–8) = √3h – 8√3
Step 5 h(√3–1) = 8√3 ⟹ h = 8√3/(√3–1) × (√3+1)/(√3+1) = 8√3(√3+1)/2
Step 6 h = 4√3(√3+1) = 4(3+√3) = 12 + 4√3 m
Step 7 d = h = 12 + 4√3 m ≈ 18.93 m
∴ Height = 4(3+√3) m ≈ 18.93 m; Distance = 4(3+√3) m ≈ 18.93 m