cphill is the not only one that can help u here we can all help u :)
I'll help! Since the gradient is (change in y-coordinate)/(change in x-coordinate), we can find out d.
We know that y2-y1/x2-x1 will get us the gradient, so we will plug in the values.
Hope this helped!