The situation is as shown in figure.
A is the point of first shot.
With respect to A, the position of bird is
Position of first shot at any instant is,
As both the shots hit the bird simultaneously. Therefore at the instant of hitting, positions of both the shots will be same.
From condition we get