differentiate.

y=2^(5x)

my ans is y'=2^(5x)5 ln 2.
is it correct?

yes

note that since 32=2^5, y=32^x
so y' = 32^x ln(32)
which is the same as your answer