In case you're still confused with regards to the 5 multiplied by 25, if you ever have an integral of the form
a_1\int{a_2\cdot f(x)dx}
(where a1 and a2 are some constants)
then you can always move the a2 out of the integral to get
a_1a_2 \int {f(x)dx}
which, after integrating we get
a_1a_2\left[F(x)+c\right]
expanded,
a_1a_2F(x)+a_1a_2c
But now let's say you didn't take a2 out the front and integrated directly, then you'd get
a_1\left[a_2F(x)+c\right]
expanded,
a_1a_2F(x)+a_1c
which doesn't seem to be the same as before. It isn't, but that's the point of the constant of integration. If we had to solve a certain problem, then the c in our first integration would be different to the c in our second integration such that we would end up getting the same answer. The moral of the story is, if your integral calculator says something that you're not getting, keep in mind that its constant of integration could be different to yours.
I've been in a couple of situations myself where I would get an answer like
\tan{x}+\tan^{-1}{(1/2)}+c
while wolfram alpha would give the answer
\tan{x}+c
and I'd go back and forth indefinitely, furiously trying to figure out why I have this extra value in my answer.