The best way to tell if you are permitted to pass another vehicle is to see if:

The presence of solid or broken lane markings down the center of a road is the best indication of whether or not passing is permitted in an area. On a two-lane highway, you may not pass another vehicle if your lane is directly next to a solid line. You may not pass within 100 feet of an intersection.

Wait, before you go

Ace Your District of columbia DMV Written Test with our Guaranteed Cheat Sheet