How do you integrate fractions?

I know how to integrate 1x and other reciprocals, (definitely and indefinitely) but I'm little confused when you have the variable as the numerator eg. x3 or x7