let's say "a" amount was invested at 10%
and "b" amount was invested at 9%
whatever "a" and "b" are, 6,300 = a + b
now, the 10% one, yielded 10/100 * a, or 0.1a
the 9% one, yielded 9/100 * b or 0.09b
both those yields added together gave 598.00
so

do the substitution and solve for "a", to see how much the 10% was
what about "b"? well, 6,300 - a = b