First of all, how do you buy exactly 15.5 pizzas?
what is a 0.5 pizza?
anyway
cost=cost per pizza times number of pizzas
cost per pizza=10.50
number of pizzas=15.5
cost=10.50 times 15.5
cost=162.75
total cost is $162.75
Okay so you can add up all the marbles to find a rate and divide.
Total: 20 marbles
Blue: 25% chance
Red: 40% chance
Green: 45% chance
Four times the sum of x and two