Respuesta :

y=3x+6

Step-by-step explanation:

point 1 (2;12)

point 2 (4;18)

[tex]m = \frac{y2 - y1}{x2 - x1} [/tex]

[tex]m = \frac{18 - 12}{4 - 2} [/tex]

[tex]m = \frac{6}{2} [/tex]

m=3

y=mx+b

sub in a point and gradient

12=3(2)+b

12=6+b

b=6

y=3x+6