Solve for d a=b-cd