Two pipes are used to fill a swimming pool. If the pipe of the larger diameter is used for 4 hours and the pipe of the 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.