first find your slope! by doing y2-y1/x2-x1 in this case it would be 2-(-3)/-1-(-6) It would give you 5/5 which would reduce to 1 meaning your slope equals 1 with your slope now you should use the point slope formula y-y1=m(x-x1)
i’m going to use the point (-1,2) so the equation would be