Answer: The amount invested at the rate of 10% is $2500 and that of 6% is $1500.
Step-by-step explanation: Given that Lisa invests $4,000 in two types of bonds, bond A and bond B. Bond A offers a 10% return, and bond B offers a 6% return.
Lisa invests $x in bond A and $y in bond B and her total return on the investment is $340.
According to the given information, the system of linear equations can be written as

Multiplying equation (i) by 5, we have

Subtracting equation (ii) from equation (iii), we get

and from equation (i), we get

Thus, the system of linear equations defining the situation is

and
the amount Lisa invested at the rate of 10% is $2500 and the amount she invested at the rate of 6% is $1500.