If we combine Newton's second law of motion i.e. $F=m\ddot{x}$ and Newton's law of gravity i.e., $$ F=G\frac{mM}{x^2}, $$ where $x$ is distance, we obtain the following equation:
$$\ddot{x}=MG\frac{1}{x^2}$$ My question is how do we solve this differential equation for $x$ ? I see no ordinary way of doing it. I have tried using Laplace transformation but apparently there exists no transformation for $\frac{1}{x^2}$ so I'm left with nothing to use.
$$ \ddot x=\frac{GM}{x^2}\quad\Longrightarrow\quad \ddot x\dot x=\frac{GM\dot x}{x^2}\quad\Longrightarrow\quad \frac{1}{2}(\dot x^2)^{\bf\dot{}} =-\left(\frac{GM}{x}\right)^{\!\bf\dot{}}, $$ which implies that $$ \frac{1}{2}\dot x^2 =-\frac{GM}{x}+c, $$ for some positive constant $c$. Hence $$ \dot x=\pm\sqrt{2c-\frac{2GM}{x}}. $$