Mallory makes $10 per hour babysitting and $8 per hour working at the local grocery store. Last week she babysat for 6 hours. Her total gross earnings for both jobs was $180. How many hours did she work at the grocery store?