In the formula book, iirc, you are given all the necessary summations required here, it's just a demonstrating your understanding question.
I'll denote the sum from a=0 to n as S(), where a is an arbitrary variable.
So from the formula book or memory:
S(r), integers, is n(n+1)/2
S(r^2), squares, is n(n+1)(2n+1)/6
S(r^3), cubes, is [n(n+1)/2]^2, also commonly known as the square of S(r).
Then notice that you can let A be in the set of naturals with 0.
So, 2A+1 is always odd for all A in the set.
Then S(2A+1) is the sum of odds and so S([2A+1]^3) is the sum of odds cubed.
Expand [2A+1]^3 and you can separate the different powers of A into separate summations and take out the coefficients to the front of the summations.
Since you know what S(r), S(r^2) and S(r^3) are, A is likewise similar and equal in the context of this, so you can substitute the summations for their equivalent formulae and finally simplify your answer.