earn $15 an hour. following weeks: 2 hours 3 hours 4 hours. whats the function

To find the function that represents the earnings, we need to determine the relationship between the number of hours worked and the corresponding earnings. In this case, we know that the person earns $15 per hour.

Let's consider the number of hours (x) and the earnings (y) as variables. Based on the given information, we can create a table to represent the relationship:

| Number of Hours (x) | Earnings (y) |
|---------------------|--------------|
| 2 | $30 |
| 3 | $45 |
| 4 | $60 |

From the table, we can observe that for every hour worked, the person earns $15. Therefore, the function representing the earnings (y) in terms of the number of hours worked (x) is:

y = 15x

So, the function is y = 15x, where y represents the earnings and x represents the number of hours worked.