please help me for this math prob.

two pipes can fill a tank in two hours running simultaneously, If both pipes were open for 40 min. and the first is then shut off, it takes one hour and 30 min. more for the second pipe to fill the tank. how long for each pipe running to fill the tank?

thanks for answering !!