Alright, lets get started.
Please refer the diagram I have attached.
The red line indicates the movement of student.
The movement of bird is indicated by orange line.
There will a right angle triangle made with sides measuring
One side will be = 0.5 miles
second side will be =

The hypotenuse will be the orange one
So, using Pythagorean theroem,




Taking square root on both sides

So the bird has to fly 0.94 miles . : Answer
Hope it will help :)