Let $u$ and $v$ be the roots of $x^2 + bx + c =0$. Then $$\frac{d^2y}{dx^2}+b\frac{dy}{dx}+cy=0 = \frac{d^2y}{dx^2}-(u+v)\frac{dy}{dx}+uvy =\frac{d}{dx}\left(\frac{dy}{dx} - uy\right) - v\left(\frac{dy}{dx} - uy\right).$$
Let $\frac{dy}{dx} - uy = z (x)$. Then $$\frac{dz}{dx} - vz=0 \\ \implies\frac{dz}{dx} = vz \\ \implies z(x) = C\cdot e^{vt}.$$
Now, you have $$\frac{dy}{dx} - uy = C\cdot e^{vt}.$$ To solve this, use the integrating factor trick:
$$e^{-ux} \frac{dy}{dx} - u\cdot e^{-ux}y = C\cdot e^{(v-u)x} = \frac{d}{dx}\left(y\cdot e^{-ux}\right).$$
Integrate both sides: $$y\cdot e^{-ux} = \int C\cdot e^{(v-u)x} dx = C_1\cdot e^{(v-u)t}$$ (why?)
To finally get $$y(x) = C_1 \cdot e^{vx}.$$ But remember that we could have changed $u$ by $v$, and this would be a linear combination of the solutions (still a solution.) Then
$$ y(x) = C_1 \cdot e^{vx} + C_2 \cdot e^{ux}.$$
Edit. As Pragabhava suggested, here's the case when $u = v$:
Suppose that we have already gotten $$C\cdot e^{(v-u)x} = \frac{d}{dx}\left(y\cdot e^{-ux}\right).$$ Then $$C\cdot e^{0} = \frac{d}{dx}\left(y\cdot e^{-ux}\right) = C.$$ Integrate both sides to get $$y\cdot e^{-ux} = C\cdot x + C_1 \\ \implies y(x) = C \cdot e^{ux} + C_1 \cdot x\cdot e^{ux},$$ as desired.