Susan Marciano invested part of her $21,000 bonus in a fund that paid a 9% profit and invested the rest in stock that suffered a 3% loss. Find the amount of each investment if her overall not profit
was $1,170.