The correct statement is:
The vehicles have the same speed, but different velocity.
Speed is a scalar quantity that only considers how fast an object is moving, while velocity is a vector quantity that includes both speed and direction. In this case, both the motorcycle and the car are traveling at 40 miles per hour, which means they have the same speed, but they are moving in opposite directions (north and south), so their velocities are different.