In traveling 350 miles, Brian used 21 gallons of gas. How many gallons of gas would Brian use on a trip of 525 miles if his car consumed gas at the same rate?