Mary invested her savings in two investment funds. The
$6000
that she invested in Fund A returned a
5%
profit. The amount that she invested in Fund B returned a
1%
profit. How much did she invest in Fund B, if both funds together returned a
2%
profit?