Answer:

Explanation:
Given
See attachment for question
Required
The piece-wise function
From the attachment, we have:
(1) $4/hr for first 2 hours
This is represented as:
The domain is:

(2) $2/hr for next 4 hours
Here, we have:

The total cost in the first 2 hours is:

So, this function is represented as:
----- 2 represents the first 2 hours
So, we have:


Open brackets

Collect like terms


The domain is:


(3) 0 charges for the last 2 hours
The maximum charge from (2) is:




Since there will be no additional charges, then:

And the domain is:
--- 8 represents the limit
So, we have:
