Answer:
y = x + 2
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:
![\frac{\text{change in y}}{\text{change in x}}](https://img.qammunity.org/2022/formulas/mathematics/high-school/leicum02pzhmimbp93lpmb0yd8t2f1hx4u.png)
Get two sets of coordinates:
(0, 2) and (2, 4)
Calculate the changes by subtracting from one another:
![(4 - 2)/(2 - 0) \\(2)/(2)\\=1](https://img.qammunity.org/2022/formulas/mathematics/high-school/xbu1jgzt2dgkt2a7n4x2r1xem28hn9kr81.png)
So the gradient is 1, meaning the equation of the line is:
![y = 1x + 2 \\\text{or}\\y = x + 2](https://img.qammunity.org/2022/formulas/mathematics/high-school/1iutr8696irl0ayh34085rv2dwpc05jeko.png)
Hope this helps!