using MPU 5060 sensor for speed

I am using MPU 5060 sensor to measure the speed of my car. I can get the raw acceleration values using the OUTPUT_READABLE_REALACCEL function in the MPU6050_DMP6 which gives out 3 axis acceleration. I am not sure how can use acceleration data to calculate the speed.

I would appreciate any help.

The speed is an integral of the acceleration over time. Don't expect that to be very accurate, though.