The magnetic induction at O due to the given arrangement where the ring is of radius r is
Magnetic induction produced by the straight part of the conductor,
Magnetic induction producted by the circular loop at its centre,
Now B2 > B1 and B2 is inward and B1 is outward.
Hence option (3) is correct.