Final answer:
Patrick spent a total of 7 hours in exercise classes last week and this week.
Step-by-step explanation:
To find the total number of hours Patrick spent in exercise classes last week and this week, we need to add the durations of both classes on both weeks.
For week 1, Patrick attended the Monday class for 3 hours and the Friday class for 1 1/2 hours. So, the total duration for week 1 is 3 + 1 1/2 hours.
For week 2, he attended the Monday class for 3 hours and the Friday class for 1 1/2 hours again. So, the total duration for week 2 is also 3 + 1 1/2 hours.
Now, we can add the durations for both weeks: (3 + 1 1/2) + (3 + 1 1/2) = 7 hours.
Therefore, Patrick spent a total of 7 hours in exercise classes last week and this week.