Acceleration is related to speed and velocity. Here's how.