I believe it would be 6 ounces
Think of this situation as a system of equations.
let y be the price of hotdogs
let x be the price of hamburgers
5y + 2x = 8
2y + 5x = 9.50
now use your solution method of choice
substitution, elimination, matrices, etc
1/3 chances the bubblegum is blue. To solve this problem you add all of the bubblegum together so 25+20+15 to get 60 then express it as a fraction to show only the blue pieces which would be 20/60 and you can simplify it to 1/3 or 33.33%
184/525
(this is me adding characters)