When answering this question, I'm assuming "18 down" means 18 gallons
To find the answer, we can divide:
40/18 = 5
( This basically means that there are 5 containers in the 40 gallon container)
knowing this:
45*5 = 225
(Basically solves the time to fill 5 containers)
It will take 225 seconds