At the annual high school carnival, Dalton sells popcorn for $4 a bag. His cost for setting up a booth is $20. Today, his goal is to make a profit of $500. How many bags of popcorn must he sell to make a profit of $500?

Hint: 500 = 4x - 20