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

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