A is the point with coordinates (4,6)
B is the point with coordinates (d,21)
the gradient of the line AB is 3
work out the value of 3