\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A taxi charges \(\dollar\)5 for the first 2 km, and then \(\dollar\)2 per km for every additional km.
  1. Write a piecewise function \(C(d)\) for the cost of a trip of \(d\) km.
  2. Calculate the cost of a 10 km trip.

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