Solve for x d(-3+x)=kx+9