The equation of a line in slope-intercept form is given by:

Where m is the slope and b is the y-intercept.
We know two points on the line: (10,8) and (-10,30).
The slope can be found by using the following formula:

Where (x1,y1) and (x2,y2) are the coordinates of two points on the line. By replacing the known coordinates we obtain:

The y-intercept can be found by replacing the slope and one of the points in the slope-intercept formula, and solving for b:

Thus, the equation of the line is:
