A part-time worker earns $20 per hour and works no more than 20 hours in a week. How do I write an equation about that?

y = 20x for 0 <= x <= 20