When you are being passed, you should:

When being passed, it is generally safest to ride in the center portion of your lane. Riding on the side nearest the passing driver increases the danger of colliding with them, and riding on the side farthest from the driver may tempt them to return to your lane too soon.
DMV Writen Test