we can find the equation of a line from a set of two points, using the following formula
[tex]y-y_1=\frac{y_2-y_1}{x_2-x_1}\cdot(x-x_1)[/tex]where,
(x1,y1) = (-2,4)
(x2,y2) = (6,6)
Replace and solve:
[tex]y-4=\frac{6-4}{6-(-2)}\cdot(x-(-2))[/tex][tex]\begin{gathered} y-4=\frac{2}{8}(x+2) \\ y-4=\frac{2}{8}x+\frac{2}{4} \\ y=\frac{1}{4}x+\frac{1}{2}+4 \\ y=\frac{1}{4}x+\frac{9}{2} \end{gathered}[/tex]Thus, the answer es:
y = 1/4 *x + 9/2