Write an equation of the line

Answer:
[tex]y = x + 2[/tex]
Step-by-step explanation:
Hello!
Equation of a Line: [tex]y = mx + b[/tex]
Slope can be calculated using the formula: [tex]m = \frac{y_2 - y_1}{x_2-x_1}[/tex]
We can use the x and y-values of the 2 points given to us.
Find the slope
So the slope is 1.
The y-intercept is the intersection between the graph and the y-axis.
The intersection happens at (0,2), so the y-intercept is 2.
Plug in the values to find the equation.
Equation:[tex]y = x + 2[/tex]