A man invested some amount at 6% interest rate and some amount at 9% interest rate. If he put Php12,000 more in the second investment than in the first investment and his annual income from both investments is Php4,830 how much did he invest at each rate?