Respuesta :

The equation of the line is given by:

[tex]\begin{gathered} y=mx+b \\ \text{where m represents the slope} \\ b\text{ represents the intercept on the y-axis} \end{gathered}[/tex]

From the question, we are already provided with slope as 2 and intercept on the y-axis as -2.

Hence, the equation of the line is:

[tex]y=2x-2[/tex]