At the local farmers market, it costs $10 to rent a stand and $7 for every hour you stay. If you pay a total of $38, how many hours did you stay at the farmers market? *