Let's focus on the particular solution because the general solution is trivial. Consider $y(t) = 5e^{-5t}\theta(t)$, taking a derivative we get
$$ y'(t) + 5y(t) = 5(-5e^{-5t}\theta(t)+e^{-5t}\theta'(t)) + 25e^{-t}\theta(t) = 5e^{-5t} \theta'(t) = 5e^{-5t}\delta(t). $$
This is "obviously" not the right answer because it has an extra $e^{-5t}$ in it, yet it is because if we consider this as a distribution (as we should since it only makes sense this way (think the sifting property)), then
$$ \langle e^{-5\cdot}\delta, f\rangle = \langle \delta, e^{-5\cdot}f\rangle = e^{-5\cdot 0}f(0) = f(0). \tag{1}$$
However this is the definition of the Dirac delta. It picks out the value of the function at $0$, so we can identify $e^{-5t}\delta(t)$ with $\delta(t)$. Thus the extra $e^{-5t}$ does not actually matter and we get the answer.
If we had another function, say $2e^{-5t}$, this would not be true since we would get $2f(0)$ in $(1)$ instead, so it would be identified with $2\delta(t)$. The fact that $e{-5t}$ is $1$ when $t=0$ is what does it for us.
It has come to my attention that this is not what OP wanted so here is a different approach than simply verifying.
Take the differential equation
$$ y'(t) + 5y(t) = 5\delta(t).$$
The left hand side can be recognized as being
$$ e^{-5t}(e^{5t}y(t))' = 5\delta(t). $$
This gives
$$ (e^{5t}y(t))' = 5e^{5t}\delta(t).$$
Let us integrate from a point $\tau_1<0$ to a point $\tau_2>\tau_1$.
$$ \int_{\tau_1}^{\tau_2} (e^{5t}y(t))'\,dt = \int_{\tau_1}^{\tau_2} 5e^{5t}\delta(t)\,dt.$$
If $\tau_2<0$, the second integral is necessarily $0$ since the range of integration falls outside of the support of the Dirac delta. We already see some hint of a Heaviside function. The left hand side can be simplified to being
$$ e^{5t}y(t)\bigg|_{\tau_1}^{\tau_2} $$
giving
$$ e^{5\tau_2}y(\tau_2) - e^{5\tau_1}y(\tau_1) = 5e^{5\cdot 0}\theta(\tau_2) = 5\theta(\tau_2).$$
Note that I explicitly encoded the step function at this stage for simplicity (based on arguments above). This holds for any $\tau_1 < \tau_2$, so massaging things a bit, we have
$$ e^{5\tau_2} y(\tau_2) - 5\theta(\tau_2) = e^{5\tau_1} y(\tau_1).$$
Both sides are functions of different variables and it holds for all $\tau_1 < \tau_2$, so we must conclude that each side is in fact constant, i.e.
$$ e^{5\tau_2} y(\tau_2) - 5\theta(\tau_2) = C = e^{5\tau_1} y(\tau_1)$$
for some $C$. That is to say that
$$ y(\tau_2) = 5e^{-5\tau_2} \theta(\tau_2) + Ce^{-5\tau_2}.$$
This perfectly captures both the homogeneous and particular solutions.
N.B. This does not contradict the part $e^{5\tau_1} y(\tau_1) = C$ since the step function is $0$ for our choices of $\tau_1$ ($\tau_1 < 0$).