How the first down line works

Great explanation from Vox of all places.