To fill a swimming pool two pipes are used. If the pipe of larger diameter used for 4 hours and the pipe of smaller diameter for 9 hours, only half of the pool can be filled. Find, how long it would take for each pipe to fill the pool separately, if the pipe of smaller diameter takes 10 hours more than the pipe of larger diameter to fill the pool?