To inflate a soccer ball, it takes 20 minutes, and if Alexia inflated 20 soccer balls, she took 20*20 = <<20*20=400>>400 minutes.
Ermias has 5 more soccer balls than Alexia, meaning she has a total of 20+5 = <<5+20=25>>25 soccer balls.
If each soccer ball takes 20 minutes to inflate, Ermias took 25*20 = <<25*20=500>>500 minutes to inflate all the soccer balls she had.
Alexia and Ermias took 400+500 = <<400+500=900>>900 minutes to inflate all the soccer balls.
#### 900