Newton's second law

The acceleration of a system is the net external force divided by its mass, in the direction of the net force, which turns a free-body diagram into an equation for each axis.

From AP Physics 1.