Let a= acceleration (a constant). Since acceleration is the derivative of velocity, by integrating the acceleration, we can get velocity.
Int(a dt) = at + C ; a is a constant with t as the variable
In other words, velocity (v) is equal to a*t +C. At t=2, v(t) is 17 so this means that a*2 + C = 17 (or 17 = 2a +C)
If we write C is terms of a we get C = 17 - 2a.
Let position be x(t). You know that if at t=5, it is 95cm from it's original position, then x(5) - x(0) = 95. In terms of integration, this is the definite integral of velocity from 0 to 5. We do that next (integrating velocity from 0 to 5) :
Int( at + C dt) from 0 to 5 is [ (at^2)/2 + Ct] from 0 to 5. Remember that C= 17 -2a. Substitute that:
[(at^2)/2 + (17 -2a)t] from 0 to 5.
Next we use the fundamental theorem of calculus to evaluate this:
= [(a *5^2)/2 + (17-2a)*5] - [(a*0^2)/2 +(17-2a)*0]
= [25a/2 + 85 -10a] - [0] = 2.5a + 85.
This is equal to the change in position (95)
2.5a + 85 = 95
Solving for a yields a = 4. The unite for acceleration in this problem is cm/ second^2
So acceleration is 4 cm/ (sec)^2