Ayden is working two summer jobs, making $18 per hour lifeguarding and $8 per hour clearing tables. Last week Ayden worked a total of 11 hours and earned a total of $178. Determine the number of hours Ayden worked lifeguarding last week and the number of hours he worked clearing tables last week.