Find the gradients of lines A and B

Answer:
3 and - 4
Find the gradient by picking any 2 points on the line then dy/dx