At first he put 12.38 gallons of gasoline in his car and later on he puts another 11.45 gallons of gasoline. Therefore, the total amount of gasoline he used all together will be
12.38 + 11.45 = 23.83 gallons of gasoline
Mr perez used 23.38 gallons of gasoline all together.