Let a = the fraction of the $9000 invested at 8% and b = the fraction of the $9000 invested at 9%, A = the amount total at the end of the investment period
The total amount he has at the end of the year is $9750
For the 8% investment A1 = 9000a(1.08) = 9720a
For the 9% investment A2 = 9000b(1.09) = 9810b
Then, A1 + A2 = 9750 = 9720a + 9810b
and 1 = a + b
We find at a = 2/3 and b = 1/3
So, $6000 is invested at 8% and $3000 is invested at 9%