At your local farmers market, it cost $10 to rent a stand, and $7 for every hour you stay there. If you paid a total of $38, how many hours did you stay at the farmers market