Solve for c Q=(c+d)/2