ANSWER:
$ 800 was invested in the account at 3%
$5200 was invested in the account at 6%
Explanation:
We can establish the following system of equations thanks to the help of the statement:
Let x represent the amount invested in the investment that lost value
Let y represent the amount invested in the investment that gained
value.

We replace equation (1) in (2) and solve for x:

Therefore, $ 800 was invested in the account the lost value, and $ 5200 was invested in the account that gained value.