If you are unsure of the algebraic expansion, simply substitute the given zeroes into the options.
For option (B), at $x = -3$, $(x+3)(-x+8) = 0$, and at $x = 8$, $(x+3)(-x+8) = 0$.
Since both values satisfy the polynomial, it must be the correct option!