write the slope intercerp form of the queation of the line trought the given points

The points are given as,
[tex]\begin{gathered} A(0,4)=(x_1,y_1) \\ B(-2,1)=(x_2,y_2) \end{gathered}[/tex]The equation of line in two point form is given as,
[tex]\frac{(y-y_1)}{(y_2-y_1)}\text{ = }\frac{(x-x_1)}{(x_2-x_1)}[/tex]Substituting the values in the equation,
[tex]undefined[/tex]