Answer:
$12,000
Step-by-step explanation:
We know that:
0.12A + 0.15B = $3000
If the amounts were inverted:
0.12B + 0.15A = $2940
Solving the system of equations:
0.12A + 0.15B = $3000
0.12B + 0.15A = $2940
The solutions are:
A = 10,000
B = 12,000
So Joaquin invested 12,000 at 15%.