In the following figure let A, E and C are the position of bird, girl and boy respectively.
Now
∠ACB = 30°, ∠AED = 45°
AC = 100m and EF = 20 m
From right angled ∆ABC,
sin 30° = AB/AC
⇒ 1/2 = AB/100
⇒ AB = 100/2 = 50 m
⇒ AB =AD + BD
⇒ 50 = AD + 20 m
⇒ AD = 50 – 20 = 30m
From right angled ∆ADE,
sin 45° = AD/AE
⇒ 1/√2 = 30/AE
⇒ AE = 30√2 = 30 × 1.41
= 42.3 m
Hence, distance of bird from girl = 42.3 m