Harold invested $30,000 in stocks and bonds. He earned 6% in bonds and 12% in stocks. If Harolds total profit was $2,460 for both stocks and bonds how much of the $30000 did he invest in bonds