I'm now little bit confused. I have textbook that says:

Ok, I'll do it my way and Integrate function by expand polynom first:

I get different integral function. let x=3 then first integral function gives result: 500/3=166,6666666... but seconds gives 333/2 = 166,5.

So, which one is right? (Doh)