Pressley is working two part-time jobs. He makes $18 per hour lifeguarding and $12 per hour as a cashier at the local grocery store. During spring break from school, he worked twice as many hours lifeguarding as he did at the local grocery store and earned $144. How many hours did he work at each job? Write and solve a system that could be used to determined the number of hours Pressley worked.