Integrating the expression that describes the acceleration of the particle gives us an expression for its velocity. Integrating the expression for its velocity, gives us the expression for its position:
Use the given values s(0) = 0 and s(s) = 20 to find the constants A and B: