Mitchell invested part of his $ 35 comma 000$35,000 advance at 4 %4% annual simple interest and the rest at 9 %9% annual simple interest. If his total yearly interest from both accounts was $ 3 comma 100$3,100​, find the amount invested at each rate.