A factory produces mixed nuts at a cost of $8 per pound. Every 5-pound bag of mixed nuts contains p pounds of peanuts and w pounds of walnuts. The factory purchases peanuts at$5 per pound and walnuts at $10 a pound. Which of the following equations correctly represent this information? Select all that apply.
A. P + w = 5
B. P + w = 8
C. 5p+ 10w =8
D. 5p+10w=40
E. 8(p+w)=40
F. 8(p+w)=64