A store sells milk in cartons of two sizes, one-half gallon and one-quarter gallon. If the store sold a total of 300 cartons of milk yesterday, how many gallons of milk did it sell yesterday?
(1) Yesterday the store sold 120 one-quarter-gallon cartons of milk.
(2) Yesterday the store sold 90 gallons of milk in one-half-gallon cartons.