Newton's law of universal gravitation is usually stated as that every particle attracts every other particle in the universe with a force that is directly proportional to the product of their masses and inversely proportional to the square of the distance between their centers.
Here, the rider is moving with a steady speed (5 m/s) towards south. In this example, we have magnitude as well as direction. Since velocity is a vector quantity, thus we can determine the velocity of the rider.