Charles mixed pineapple juice and orange juice to make a fruit punch. He made a total of 5 1/2 cups of the mixture and used 2 more cups of orange juice than pineapple juice. How much did he use of each type of juice?