Orion Labs needs to make 500 gallons of 34% acid solution. The only solutions available are a 25% acid solution and a 50% acid solution. Write and solve a system of equations to find the number of gallons of each solution that should be mixed to make the 34% solution.

Equation 1 (gallons):

Equation 2 (% acid):



gallons of 50% acid solution and
gallons of 25% acid solution.