Let's say the amounts were "a" and "b", at 12% and 9% respectively
so... the total amount of those two, is $9500, since that was the total
amount invested, thus
a + b = 9500
now, 12% of a plus 9% of b, yielded $1032
12% of a is 12/100 * a or 0.12a
9% of b is 9/100 * b or 0.09b
thus
0.12a + 0.09b = 1032
![\bf \begin{cases} a+b=9500\to b=\boxed{9500-a}\\ 0.12a + 0.09b = 1032\\ --------------\\ thus \\\\ 0.12a + 0.09(\boxed{9500-a}) = 1032 \end{cases}](https://tex.z-dn.net/?f=%5Cbf%20%5Cbegin%7Bcases%7D%0Aa%2Bb%3D9500%5Cto%20b%3D%5Cboxed%7B9500-a%7D%5C%5C%0A0.12a%20%2B%200.09b%20%3D%201032%5C%5C%0A--------------%5C%5C%0Athus%0A%5C%5C%5C%5C%0A0.12a%20%2B%200.09%28%5Cboxed%7B9500-a%7D%29%20%3D%201032%0A%5Cend%7Bcases%7D)
solve for "a", to see how much was invested at 12%,
what about "b"? well, b = 9,500 - a