A chemical company makes two brands of antifreeze. The first brand is 70% pure antifreeze, and the second brand is 95% pure antifreeze. In order to obtain 150 gallons of a mixture that contains 75% pure antifreeze, how many gallons of each brand of antifreeze must be used?