Is that true?

I've got a car that's accelerating at 6m/sec but i want to know how much space it's actually displaced, working backwards 6m/sec is the derivative of 3m^2 so therefore 3x^2 is the actual amount the car has travelled?

This is sort of a homework question, except the homework question doesn't ask for how far the car has travelled (and this isnt' a calculus homework question)