Yesterday, Esperanza worked for 6 hours and earned $120. Today, Esperanza worked 8 hours and earned $156. Write the equation of the linear function that models the relationship between the number of hours Esperanza works and the amount of money she earns. Enter your answer in y=mx+b form.

[ ]

The equation of the linear function can be written in y=mx+b form as:

y = 18x + 12

Where:
y = amount of money earned
x = number of hours worked
m = rate of pay per hour ($18 per hour in this case)
b = initial amount of money earned (or starting amount of money)