Good morning Jay,
Let's set up this question with what we know.
X = amount invested in account paying 10% annual interest
Y = amount invested in account paying 11% annual interest
From the 3rd sentence
Y = X + 5000
.1X + .11Y = 1390
Let's substitute Y=X+5000 for Y in the last equation.
.1X + .11Y = 1390
.1X + .11(X+5000) = 1390
Distribute
.1X + .11X + 550 = 1390
Combine terms
.21X +550 = 1390
And solve for X
.21X = 840
X = 4000
Y = 4000+5000 = 9000
You are investing $4,000 at 10% and $9,000 at 11%.