Solve for w P=21+2w