Newton's three laws of motion may be stated as follows:
1. Every object in a state of uniform motion will remain in that state of motion unless an external force acts on it.
2. Force equals mass times acceleration
3. For every action there is an equal and opposite reaction.
the third law is being used in this situation