Answer:
y = 2x + 4
Explanation:
The equation of a line can be calculated using the following:
[tex]y-y_1=m(x-x_1)_{}_{}[/tex]Where m is the slope and it is equal to:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]And (x1, y1) and (x2, y2) are two points of the line.
Then, replacing (x1, y1) by (-2, 0) and (x2, y2) by (3, 10), we get that the slope is:
[tex]m=\frac{10-0}{3-(-2)}=\frac{10}{3+2}=\frac{10}{5}=2[/tex]So, the equation is:
[tex]\begin{gathered} y-0=2(x-(-2))_{} \\ y=2(x+2) \\ y=2\cdot x+2\cdot2 \\ y=2x+4 \end{gathered}[/tex]Therefore, the answer is y = 2x + 4