Given :
A cashier at Giorgio's Grocery Store gets paid $8 per hour for shifts of 6 hours or less.
And $12 per hour for working shifts over 6 hours long.
To Find :
A function best represents this situation.
Solution :
Let, number of hours is h and amount paid is y .
For, h ≤ 6
y = 8h
For, h > 6
y = 12h
Therefore, function representing this is :
y( h ) = 8h , x ≤ 6
12h , x > 6
Hence, this is the required solution.