Rolex worked 40 hours last week. He had $74 deducted from his earnings for taxes. If he had $286 left after the deduction, how much does Rolex earn per hour?

I got the correct answer for this, but I didn't set it up as an equation, as my math teacher likes it. I need this problem set up as an equation, please. I need work for it too. Thanks!