An investor with 9030 euros puts part of his capital in one bank at 10 % interest and the rest in another bank at 6 %. If the second investment earns him 145 euros more interest per year how much has he invested with each bank?

He has invested €
at 10% in the first bank and
at 6% in the second bank