1 answer
(click or scroll down)
p + c = 40 ... 8 p + 8 c = 320
8 p + 20 c = 464
subtracting equations (to eliminate p) ... 12 c = 144
solve for c