Keisha invested her savings in two investment funds. The

$4000
that she invested in Fund A returned a
10%
profit. The amount that she invested in Fund B returned a
3%
profit. How much did she invest in Fund B, if both funds together returned a
7%
profit?