The equation of a straight line in the slope-intercept form is given to be:
where m is the slope of the line and b is the intercept on the y-axis.
The slope can be calculated using the formula:
From the graph, we can pick two points as shown below:
Therefore, the slope of the line is calculated to be:
The y-intercept is the y-value when x = 0. Therefore, we have the y-intercept to be:
Therefore, the equation of the line is given to be: