A 30% acid solution was mixed with a 10% acid solution. The result was 600g of a 15% solution. How much of each solution was used for the mixture?