Toby split his savings into two different investments, one earning $5 \%$ and the other earning $7 \% .$ He put twice as much in the investment earning the higher rate. In 1 year, he earned $\$ 665$ in interest. How much money did he invest in each account?