The soccer team is planning to sell health bars for a fundraiser. The prices of purchasing health bars from two different companies are represented by the system of equations shown, where x is the number of bars purchased and y is the total cost in dollars.
Company A: y=0.75x
Company B: y=10+0.50x
How many bars would the team need to purchase from each company in order for the total cost to be equal?
6
8
30
40