The gradient is the slope.
Slope is the change in y over the change in x.
3 = (21-6) / (d-4)
Simplify:
3 = 15/(d-4)
(D-4) = 15/3
D-4 = 5
Add 4 to both sides :
D = 9
4.6m questions
6.0m answers