we know that x + 3 is a factor of the polynomial, that means that if we divide the polynomial by (x + 3), we'll get a remainder of 0.
likewise by the remainder theorem, since that x + 3 = 0, or x = -3, if we plug that -3 as the argument for p(x), namely p(-3), our output will be zero, if indeed (x + 3) is a factor of that polynomial, so then, let's plug that -3 in p(x).