Solve for
d
: