Jordan is working two summer jobs, making $13 per hour lifeguarding and $10 per hour walking dogs. Last week Jordan earned a total of $177 and worked 3 more hours lifeguarding than hours walking dogs. Determine the number of hours Jordan worked lifeguarding last week and the number of hours he worked walking dogs last week.