\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A delivery company charges a flat rate of \(\dollar\)10 for packages weighing up to 5 kg. For packages weighing more than 5 kg, they charge the flat rate plus \(\dollar\)3 for every additional kg.
  1. Write a piecewise function \(C(w)\) for the cost of shipping a package of weight \(w\) kg.
  2. Calculate the cost to ship a package weighing 12 kg.

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