Answer:
y=2x+8
Explanation:
Given the two points:
[tex]\begin{gathered} (x_1,y_1)=(-2,4) \\ \mleft(x_2,y_2\mright)=\mleft(1,10\mright) \end{gathered}[/tex]In order to find the equation of the line connecting them, we employ the use of the two-points formula given below:
[tex]\frac{y-y_1}{x-x_1}=\frac{y_2-y_1}{x_2-x_1}[/tex]Substitute the values:
[tex]\frac{y-4}{x-(-2)}=\frac{10-4}{1-(-2)}[/tex]Next, simplify:
[tex]\begin{gathered} \frac{y-4}{x+2}=\frac{6}{3}=2 \\ \implies y-4=2(x+2) \\ \implies y=2(x+2)+4 \\ \implies y=2x+4+4 \\ \implies y=2x+8 \end{gathered}[/tex]The equation containing the points (-2,4) and (1,10) is y=2x+8.