Solve for C P=2C+2D