If all other factors remain identical then seven of ten pipes fill the empty tank in 10/7 X 28 minutes = 40 minutes.