Two ice cream machines make a total of 320 gallons in a certain amount of time. Working together for the same length of time, how many gallons of ice cream can each number of machines make?