code to controlling 2 dc motor with accelerometer MMA7361L.

sorry, i have a project school and i question me,they can me provide a code for 2 dc motor with a accelerometer MMA7361L.this is for a little car.
please help me. :smiley:
project delivery is in 3 days.

What data do you think you are going to get from the accelerometer? How is that data supposed to be used to control the car?