Shawna works at a local pet store. When she works 3 hours, she earns $27. When she works 8 hours, she earns $72. Which equation represents her total wages 'y' based on the hours that she works 'x'?

1. y=8x
2. y=27x
3. y=72x
4. y=9x