Hi Aaliyah,
when you want to check any expression such as (X - a ) is a factor of a polynomial function
IT IS ENOUGH X - a = 0 -----> X = a then by replacing a in the function you can make a decision whether it is a factor or not. if f(a) is ZERO it means (X-a) is a factor of function
NOW X- 3 = 0 ----> X = 3 then find f(3)
ƒ(x) = –5x3 + 16x2 – 9
f( 3 ) = -5 (3)^3 + 16 (3)^2 -9
f( 3 ) = -5 * 27 + 16 * 9 - 9
f( 3 ) = -135 + 144 - 9 =0 SO (X - 3 ) is one of the factor of ƒ(x) = –5x3 + 16x2 – 9
I hope it is useful,
Minoo