It is given that,
The amount she invested in Fund A was $7000 less than the amount she invested in Fund B.
So, A=B-7000
And it is given that, Fund A returned a 7% profit and Fund B returned a 3% profit.
The total profit from the two funds together was $1610.
It can be written as,
7% of A +3% of B=1610
Substitute A=B-7000, we get
7% of (B-7000) +3% of B=1610
On solving we get,
Hence, the investment in fund B is $21,000.