what is -8 squared +(17 - 9)x 4 + 7

If you mean

(-8)^2 + (17 - 9)*4 + 7
= 64 + 8*4 + 7
= 103