Answer:
The required piecewise function is

Explanation:
It is given that the carpenter’s chronicle charges $12 for each of the first three lines of a classified ad.
For 0 ≤ x ≤ 3, the cost function is

Carpenter’s chronicle charges $7.25 for each additional line after 3 lines.
For x > 3, the cost function is


Therefore the required piecewise function is
