Is delta prime in this notation a standard Dirac function, or does the prime means something here?
If it is a plain Dirac function, then it would be exp(5*0). In general an integral from a to b of f(x)*delta(x-c) is f(c) for a < c < b, 1/2*f(c) if c == a or c == b, or 0 otherwise.