If a team fails to gain a first down, where does the ball start?

a) The 50-yard line
b) The line of scrimmage where the play ended
c) The opponent's 20-yard line
d) The team's 20-yard line