The direction of the magnetic field at points P, Q, and R can be determined using the right-hand rule for the motion of charged particles in a magnetic field. The proton experiences a force that is always perpendicular to both its velocity and the magnetic field.
At point P, the magnetic field is directed into the page.
At point Q, the magnetic field is directed out of the page.
At point R, the magnetic field is again directed into the page.
The relative magnitude of the magnetic fields increases as the proton moves from point P to point Q, and decreases again as it moves from Q to R.