f(x)=8x-x2

That's a statement, not a question. And I think you mean

f(x) = 8x - x^2

which is easier to read. Now, what about it?