Yama works a varying number of hours per month for a construction company. The following scatter plot shows how much money he earns for each number of hours he works. Write the piecewise-defined function that represents Yama's earnings as a function of his hours worked.