Find the equation of a line throught the points P (-1, 6) and S (4, 2)

One way is to set up two equations using the general formula for straight line.

y = mx + b
1st equation is 6 = m(-1) + b
2nd equation is 2 = m(4) + b
Now solve those two equations for m and b.