Hello, thank you for taking the time to post your question!
The expression you’re trying to factor here is a difference of cubes, where
x^3 = (x)^3 and 343 = (7)^3.
That means you can factor it using the general form
a^3 – b^3 = (a – b)(a^2 + ab + b^2)
for this set of values that becomes
(x – 7)(x^2 + 7(x) + 7^2)
= (x – 7)(x^2 + 7x + 49)
I hope that helps you get moving in a better direction on this type of question! Feel free to reach out if you have any additional questions beyond that :)