How to calculate detention time ?

How to calculate detention time ?

for the water treatment operator