gy-61

how to control DC motor using gy-61(accelerometer)

First, you define some requirements. What does the instantaneous rate of acceleration, along which axis, have to do with "controlling" a motor?