Can anyone explain how to do this?

The gradient of line q: y = ax + b is -4. Line q passes
through point P(-3,21). Calculate the values of a and b.​

Q&A Education