To find the integral of a function you must first incease the power of x by one then divide to coefficient by the new power. So, by increasing the powers first you get 3x^2 - x^(5/2) and then dividing by the new powers you get (3/2)x^2 - (2/5)x^(5/2) and make sure not to forget +c.