We know thanks to Newton that:
$$F=G\frac{m_1\cdot m_2}{r^2}$$
Where $G$ is the Gravitational Constant that is about $6.673\cdot10^{-11}$
$m_1$ and $m_2$ are the masses of two different objects
$r$ is the distance between them.
We also know that $F=ma$ so can we write this? : $$ma=G\frac{m_1\cdot m_2}{r^2}$$
If so what is $m$ in the first term of the equation? $m_1$ or $m_2$? Thanks a lot for help!!!