Use the rise over run formula to find the slope of the line.
Rise over run uses the following formula:

Plug your points' x and y values into this formula:
(2,-4) and (4,4)

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)


The y-intercept is defined at
-12, at (0,-12).
Slope-intercept form uses the following formula:

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:
