Answer:X(2X-23)/(X-12)
Step-by-step explanation:
C = Chips = X
P = Pretzels
N = Nachos
First: X (number of bags of Chips)
Second: 4P=X (number of bags of pretzels)
Third: P=(P-3)N (number of bags of Nachos)
we need to simplify them and add them.
they bought:
X + 4P + (P-3)N in total
from the Nachos we can see: N= P/(P-3)
and from the Pretzels: 4P=X X=4P Therefore P=X/4
Also: N=(X/4)/((X/4)-3)
Replace:
X+ X + (X/4)/ ((X/4)-3)
2X+ 4/X/((X/4)-3) = 2X+(X/4)/((x-12)/4)
2X+X/4*4/(X-12)
2X+X/(X-12)
(2X*(X-12)+X)/(X-12)
(2X^2-24X+X)/(X-12)
X*(2X-23)/(X-12)