In case you're still confused with regards to the 5 multiplied by 25, if you ever have an integral of the form
[tex]a_1\int{a_2\cdot f(x)dx}[/tex]
(where a1 and a2 are some constants)
then you can always move the a2 out of the integral to get
[tex]a_1a_2 \int {f(x)dx}[/tex]
which, after integrating we get
[tex]a_1a_2\left[F(x)+c\right][/tex]
expanded,
[tex]a_1a_2F(x)+a_1a_2c[/tex]
But now let's say you didn't take a2 out the front and integrated directly, then you'd get
[tex]a_1\left[a_2F(x)+c\right][/tex]
expanded,
[tex]a_1a_2F(x)+a_1c[/tex]
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
[tex]\tan{x}+\tan^{-1}{(1/2)}+c[/tex]
while wolfram alpha would give the answer
[tex]\tan{x}+c[/tex]
and I'd go back and forth indefinitely, furiously trying to figure out why I have this extra value in my answer.