The equation of a line is
y-y1=m(x-x1) ,where y1 is your y-cord, m is your slope and x1 is your x-cord.
the information you provided was m=2, (2,-2)
now plug in
now solve for y to put it in the form of y=mx+b where m is your slope and b is your y intercept