The graph shows the number of hours that Tammy spends typing for work, x, and the amount of pay that she earns, y.

On a graph titled Tammy's Pay, number of hours is on the x-axis and pay in dollars is on the y-axis. A line goes through points (2, 18) and (8, 42).

What is the slope of the line?
One-fourth
StartFraction 8 Over 17 EndFraction
4
6

1 answer

To find the slope of the line that passes through the points (2, 18) and (8, 42), we can use the slope formula:

\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]

Where \((x_1, y_1)\) are the coordinates of the first point and \((x_2, y_2)\) are the coordinates of the second point. For our points:

\((x_1, y_1) = (2, 18)\)
\((x_2, y_2) = (8, 42)\)

Now, substituting these values into the slope formula:

\[ m = \frac{42 - 18}{8 - 2} \]

Calculating the differences:

\[ m = \frac{24}{6} \]

Now divide:

\[ m = 4 \]

Thus, the slope of the line is 4.