Given data:
The expression for the total amount iis x+y=4000.
The total investment is 340.
The expression for the total investment is,

Substitute (4000-x) for y in the above expression.

The value of y is,

Thus, the system of equations that define the situation are x+y=4000, and 0.1x+0.06y=340. The amount Lisa invested in 10% rate is $2500, and the amount Lisa invested in 6% rate is $1500.