(a) As the wire in question is carrying current, so it will also generate a magnetic field around it. And for a long straight wire it will be maximum at the mid-point called P.
Now,
Magnetic field generated by the current carrying wire
Net magnetic field =
(b) Magnetic field B = 0
when
Clearly,
B = 0
when
But when ,
Net magnetic field =