We will do a system of equations
x amount invested at 2.8%
y amount invested at 18%
the first equation will be the total invest
x+y=6500
then the second equation is about the simple interest
0.028x+0.18y=410
then we isolate the x of the first equation
x=6500-y
we substitute this equation on the second equation
0.028(6500-y)+0.18y=410
then we simplify the expression
then we sum like terms
then we isolate the y
then we substitute the value of y in the equations with x isolate
5000 amount invested at 2.8%
1500 amount invested at 18%