Step-by-step explanation:
y=mx+b
(0,2),(2,4)
m = \frac{2 - 4}{0 - 2}m=0−22−4
m=1
substituting:
y=x+2