The new mixture is acquired from the sum of the concentration divided by the total number of gallons. Or we could write it like this.
mix =

Input the numbers
mix =

simplify the dividend and divisor
mix =

mix =

mix =

mix = 35%
The new concentration is 35%