A quick way to find the slope is comparing the y values then the x values, going in the same direction.
- for the y's, from 19 to 42, that's +23
- for the x's, from 3 to 8, that's +5
So the slope is 23/5. In a statistics problem like this, you could either leave it as a fraction, or turn it as the decimal 4.6
To find the y-intercept, take either of the points and the slope, and plug into y = mx + b, then solve for b. Let's take the first point
y = mx + b
19 = 4.6(3) + b
19 = 13.8 + b
(Minus 13.8 on both sides)
5.2 = b
So the line is: y = 4.6x + 5.2, or y = 23/5 x + 26/5 as fractions.
*If you would like more math help, feel free to message me*