It takes Irene twice as long to plant 360 tulips as it takes Masha. If two of them working together can plant the tulips in 6 hours, how long will it take each of them to do the job alone?