Find the gradients of lines A and B

Find The Gradients Of Lines A And B class=