The correct option is B p>q
All numbers on the number line to the left of a reference point are smaller than the reference point.
Similarly, all numbers on the number line to the right of a reference point are greater than the reference point.
Thus, if p lies to the right of q, then we have q<p or p>q.