First you have rearranged incorrectly. It should be -8x^2 +2x +10
Then you need to factor out -8 not 2 so that the coefficient becomes 1. Meaning you can complete the square as normal. If you can't do that - go do some questions where the coefficient of x squared is 1.