Two long, parallel wires carry currents of I1 = 3.10 A and I2 = 4.95 A in the directions indicated in the figure below, where d = 22.0 cm. Take the positive x direction to be to the right.

(a) Find the magnitude and direction of the magnetic field at a point midway between the wires.
(b) Find the magnitude and direction of the magnetic field at point P, located d = 22.0 cm above the wire carrying the 4.95-A current.