Final answer:
After finishing the 5th free meal, you will have eaten 45 meals at the restaurant. This includes 40 paid and 5 free meals.
Step-by-step explanation:
To calculate how many meals you will have eaten at the restaurant after finishing your 5th free meal, we need to consider that you get a free meal every 9 visits. Therefore, for each free meal, you must have paid for 8 meals. This will be 8 paid meals times 5 cycles to get the 5 free meals, plus the 5 free meals themselves.
- Calculate the total number of paid meals before the free meal: 8 paid meals × 5 cycles = 40 paid meals.
- Add the number of free meals to the paid ones: 40 paid meals + 5 free meals = 45 meals.
After finishing your 5th free meal, you will have eaten a total of 45 meals at the restaurant.