integrate from 0 to x^2 (t-3)dt