Question 67340

:
Three types of junk food: x(chips, p(pretzels), n(nachos)
:
Four times as many bags of p as x:
p = 4x
:
Three fewer bags of n as p
n = p - 3
:
Substitute 4x for p
n = 4x - 3
:
Total bags = x + p + n
:
f(x) = x + 4x + (4x - 3)
f(x) = x + 4x + 4x - 3
f(x) = 9x - 3