### Home > INT2 > Chapter 12 > Lesson 12.2.3 > Problem 12-111

Arik has purchased a used car. To help pay for his expenses, Arik uses his car to run errands for his neighbors, such as picking up groceries and going to the hardware store. Homework Help ✎

Arik charges a flat fee of $5.00 for errands that require driving less than three miles, and an additional $1.50 per mile for longer errands. Write a piecewise-defined function that represents Arik’s earnings.

Arik keeps careful records of his expenses. Gas is about $3.00/gal, and his gas mileage averages 28 mi/gal. His maintenance costs are predicted to be $0.60/mile. Write a function that represents Arik’s fuel and maintenance costs per mile driven.

Write a new piecewise function that represents the profit Arik makes. What is Arik’s predicted profit for an errand that requires 2.5 miles of driving? 10 miles of driving?

How can you compare the price of gas to the gas mileage of his car?

Incorporate your answers from part (b) into the piecewise function from part (a) to create the new piecewise function.