If $5700 is invested at a 5% annual simple interest, how much should be invested at 9% annual simple interest so that the total yearly income from both investments is $1077?