Given:
A linear graph
To find:
the equation of the line
The formula for linear equation is given as:
y = mx + b
m = slope
b = y-intercept
We need to get the slope and y-intercept of the line. To get the slope, two points will be picked on the line
Using points: (-8, -1) and (0, 2)
[tex]\begin{gathered} slope\text{ = }m\text{ = }\frac{y_2-y_1}{x_2-x_1} \\ x_1=-8,y_1=-1,x_2=0,y_2\text{ = 2} \\ m\text{ = }\frac{2-(-1)}{0-(-8)}=\frac{2+1}{0+8} \\ m\text{ = 3/8} \end{gathered}[/tex]The y-intercept is the value of y when x = 0. On the graph, it is the value of y when the line crosses or touches the y-axis.
The line crosses the y axis at y = 2
b = y-intercept = 2
The equation of the line in slope-intercept form becomes:
[tex]y\text{ = }\frac{3}{8}x\text{ + 2}[/tex]