A worker earns a regular wage of dollars per hour for the first 8 hours of work in a day. For any hours worked in excess of 8 hours, the worker earns 1.5 times the regular wage. If the worker worked hours in a day, where , and earned a total of dollars, which of the following equations correctly represents the total earnings?