For the binomial expression ( a + b)^n, general term is nCr a^(n - r)b^r ( r = 0 to n).
Now a = x^2, b = 3/x and n = 9
So general term is 9Cr (x^2)^(9 - r) (3/x)^r
= 9Cr x^(18 - 2r)(3^r)[x^(-r)]
= 9Cr (3^r) x^(18 - 3r)
For the term x^9, that is 18 - 3r = 9, r = 3
So coefficient of the x^9 term is 9C3 ( 3^3) = 9C3 x 27 = 2268.