Use the rise over run formula to find the slope of the line.
Rise over run uses the following formula:
[tex] \frac{y_{2}-y_{1}}{x_{2}-x_{1}} [/tex]
Plug your points' x and y values into this formula:
(2,-4) and (4,4)
[tex] \frac{4 -(-4)}{4-2} = \frac{8}{2} = 4[/tex]
The slope of the line is 4.
To find the y-intercept of the line, we must take an x-value of a point, multiply it by our slope, and subtract that from the y-value:
(2,-4)
[tex]2 \times 4 = 8[/tex]
[tex]-4 - 8 = -12[/tex]
The y-intercept is defined at -12, at (0,-12).
Slope-intercept form uses the following formula:
[tex]y = mx + b[/tex]
m is the slope of the line, and b is the y-intercept.
We have the values for the slope and y-intercept. Plug these values into the formula. The following equation is your answer:
[tex]y = 4x - 12[/tex]