I'm guessing that x2 is an x to the power of 2, so u can rewrite that as:
x^2 - x - 4
from there you can use completing the square, quadratic function, or factoring.
If the x2 is supposed to be 2x then it would just be as follows:
x - 4
9.5m questions
12.2m answers