Position is obtained by applying distance travelled to initial position.   To calculate distance travelled the first integration of acceleration with respect to time gives speed  and the second integration converts speed to distance travelled.