Two long wires, one of which has a semicircular bend of radius $R,$ are positioned as shown in the accompanying figure. If both wires carry a current $I$, how far apart must their parallel sections be so that the net magnetic field at P is zero? Does the current in the straight wire flow up or down?