Answer:
d = 9
Explanation:
Calculate the slope m of line AB and equate the result to 3
m =

with (x₁, y₁ ) = A(4, 6) and (x₂, y₂ ) = B(d, 21)
m =
=
= 3 ( multiply both sides by d - 4 )
15 = 3(d - 4), that is
15 = 3d - 12 ( add 12 to both sides )
27 = 3d ( divide both sides by 3 )
9 = d