The equation can be rewritten as:

Factor out a 7x from the first two terms:

Factor out a 1 from the last two terms:

Then we can rewrite this as the fully factored equation:

You can check that this answer is correct by multiplying them and distributing.