As others have said it is not practical to solve this by factorising. It’s either a mistake (-7 is 7*-1. 7+-1 is 6) or it’s there to make you realise that you need another method for some quadratics or you’ve already been taught another method and they want you to use that (either Completing the square, the equation or drawing the graph to get approximate solutions)