factor out the negative of the gcf
-x^2-5x+7

Step-by-step explanation:
To factor out the minus means to remove the minus and all the signs will change.So it will be:
-(x^2+5x-7).