An object is traveling and at 6 seconds it has a velocity of 18 m/s, then at 10 seconds it has a velocity of 38 m/s. What is the acceleration of the object from 6 to 10 seconds?
A) 3 m/s2
B) 4 m/s2
C) 5 m/s2
D) 6 m/s