A,B,C, and D are four trees, located at the vertices of a square (Fig. 5.117). Wind blows from A to B with uniform speed. The ratio of times of flight of a bird from A to B and from B to A is n. At what angle should the bird fly from the direction of wind flow, in order that it starts from A and (a) reaches C, (b) reaches D ?