To solve
\[
\frac{dy}{dx} = \frac{2x - 4y - 5}{x - 2y + 2}
\]
Use substitution: Let \( u = x - 2y \Rightarrow \frac{du}{dx} = 1 - 2\frac{dy}{dx} \). Substitute back into the equation and simplify. The differential equation transforms into one involving \( u \), which is separable. Solving leads to
\[
2x - y + 3 \log(|x - 2y - 4|) = k
\]
So, \( c = 3 \).