Solve for d P=b+c+d