When the road is marked with a solid yellow line and a broken yellow line on your side, you may pass another vehicle, but only when it is safe to do so and only if the broken yellow line is on your side of the center.

If the solid yellow line is on your side, you must not pass; you need to stay in your lane.