I would say about the bad when we like a couple of power a little pounds
6/2=3
The scale factor is 3
3x3=9
w=9
It’s easier to see with actual numbers therefore, since you are not given a total, say there are 20
Which means, 10 are peanuts, 5 are chocolate candies and 5 are dried fruit.
Out of the 20 options, there are 5 that are the chocolate candies.
This means there is a 5 in 20 chance you will pick the chocolate candies.
5/20 = ¼ (i.e. the likelihood to pick one is the same as the fraction of chocolate candies the bag contains)
You need to solve the following equation:
-0.5x^2 +36x -161 = 451
Set right side to 0
-0.5x^2 +36x -612 = 0
Multiply by -2 to get rid of decimal and leading neg coefficient.
x^2 -72x + 1224 = 0
Use quadratic formula:
a = 1, b = -72, c = 1224

Therefore the min price to have 451 profit is $27.51