Answer:
y = 3x - 2
Explanation:
y = mx + c
m = slope and c = y intercept
finding y intercept
The y intercept is the point where the line passes the y axis
Here, by looking at the graph, we can say that the y intercept is at (0,-2)
This means the y intercept (c) = -2
finding slope
Using the slope formula (y2-y1)/(x2-x1)
Where (x1,y1) and (x2,y2) are from any points on the line
The points chosen may vary however I have chosen (0,-2) and (1,1)
So we have (x1,y1) = (0,-2) meaning x1 = 0 and y1 = -2 and we have (x2,y2) = (1,1) meaning that x2 = 1 and y2 = 1
We now plug these values into the formula
Slope(m) = (y2-y1)/(x2-x1)
==> plug in x1 = 0 , y1 = -2 , x2 = 1 and y2 = 1
Slope(m) = (1 - (-2) / (1 - 0)
==> remove parenthesis
Slope(m) = (1 + 2) / (1 - 0)
==> simplify addition and subtraction
Slope(m) = 3
Creating the equation
Now we plug in the values of m and c
Again we have y = mx + c
m = 3 and c = -2
y = 3x - 2