Let <em>x</em> be the number of hours worked.
If Alani works less than 40 hours, then she earns $8 per hour. So if she works 0 ≤ <em>x</em> < 40 hours, she would make ($8/hr)×(<em>x</em> hr) = $8<em>x</em>.
If she works more than 40 hours, her pay increases to $12 per hour. So if she works 40 ≤ <em>x</em> hours, she would make ($12/hr)×(<em>x</em> hr) = $12<em>x</em>.
Let <em>f(x)</em> be the amount of money ($) she makes after working <em>x</em> hours in a given week. Then <em>f(x)</em> is given by the piecewise function,
