Oil that costs $22.50/barrel is mixed with oil that costs$35.00/barrel. How many barrels of each oil should be included in 1250 barrels of mixture that sells for $27.50/barrel?

22.5 x + 35 (1250 -x) = 27.5 (1250)