Answer:
y = x + 2
Step-by-step explanation:
As the equation of a line is in the form y = mx + c:
Step 1 - Calculate the y intercept
This can be done by looking at the y coordinate where x = 0:
y = mx + c
In the picture, the y intercept is 2 so:
y = mx + 2
Step 2 - Calculate the slope
This can be calculated by:
[tex]\frac{\text{change in y}}{\text{change in x}}[/tex]
Get two sets of coordinates:
(0, 2) and (2, 4)
Calculate the changes by subtracting from one another:
[tex]\frac{4 - 2}{2 - 0} \\\frac{2}{2}\\=1[/tex]
So the gradient is 1, meaning the equation of the line is:
[tex]y = 1x + 2 \\\text{or}\\y = x + 2[/tex]
Hope this helps!