Here's a geometric solution (which thus has some in common with lab's Prosthaphaeresis Formula solution); it amounts just to interpreting the given equation as for the intersection of a line and a circle, and then using symmetry and doing some easy algebra.
By construction, the solutions $\alpha$ and $\beta$ are the angles between the positive $x$-axis and the points of intersection of the unit circle $C$ with the line $L$ defined by $a x + b y = c$ (since the original question says solutions, we'll assume there are two points of intersection). We may as well assume too that the points are not endpoints of a diameter (equivalently that $c \neq 0$), as the claim is a trivial calculation in that case.
Now, by symmetry, (1) the line $L'$ through $0$ and the point on $L$ closest to $0$ makes an angle $$\theta := \frac{1}{2} (\alpha + \beta)$$ with the positive $x$-axis, and (2) $L' \perp L$, so $L$ has equation $b x - a y = 0$. This line intersects $C$ at two points and substituting gives that the intersections satisfy $$x^2 = \frac{a^2}{a^2 + b^2}$$ and so $$y^2 = \frac{b^2}{a^2 + b^2}.$$
By definition these quantities are respectively $\cos^2 \theta$ and $\sin^2 \theta$, and so the cosine double angle identity gives $$\cos(\alpha + \beta) = \cos(2 \theta) = \cos^2 \theta - \sin^2 \theta = \frac{a^2 - b^2}{a^2 + b^2}$$
as desired.