\int_{0}^{6}|x-3|x^2dx=\int_{0}^{3}(-x+3)x^2dx+\int_{3}^{6}(x-3)x^2dx