\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A car park charges \(\dollar\)3 per hour for the first 4 hours of parking. If a car stays longer than 4 hours, the rate drops to \(\dollar\)2 for every additional hour.
  1. Write a piecewise function \(C(t)\) for the total cost of parking for \(t\) hours.
  2. Calculate the cost of parking for 7 hours.

Capture an image of your work. AI teacher feedback takes approximately 10 seconds.