Answer:
gradient line A : 4
use the point (2,2) and (0,-6)
gradient line B : -2
use the point (4,0) and (5,-2)