In a physics problem I'm working on, the following differential equation arose.
$$\left(\frac{y'}{y}\right)'=-\alpha y$$
where $y=y(x)$ and $\alpha$ is a positive real number. When I plug it into wolfram alpha, it says the general solution to this second order nonlinear differential equation is
$$y_1(x) = \frac{c_1-c_1 \tanh^2\left(\frac{1}{2} (\sqrt{c_1} c_2-\sqrt{c_1} x)\right)}{2 a}$$
$$y_2(x) = \frac{c_1-c_1 \tanh^2\left(\frac{1}{2} (\sqrt{c_1} c_2+\sqrt{c_1} x)\right)}{2 a}$$
where $c_1$ and $c_2$ are arbitrary real constants. I have no idea how it derived such solutions, but I have checked that they satisfy the differential equation. I've tried to show this for a few hours, but I just can't. Could you help offer some insight?
EDIT: I have almost everything obvious, like writing the LHS of the differential equation as the second derivative of $\log y$, and using the quotient rule on the LHS.