The point-slope form:
[tex]y-y_1=m(x-x_1)[/tex]
m - slope
x₁, y₁ - the coordinates of a point
It passes through the points (1,-2) and (2,2).
[tex](1,-2) \\
x_1=1 \\ y_1=-2 \\ \\
(2,2) \\
x_2=2 \\ y_2=2 \\ \\
m=\frac{y_2-y_1}{x_2-x_1}=\frac{2-(-2)}{2-1}=\frac{2+2}{1}=4[/tex]
[tex]\boxed{y-(-2)=4(x-1)}[/tex]