The last element in the $n^{th}$ set = $n^2$
Sum of the last set = Sum till last element of $n^{th}$ set $-$ Sum till last element of $n-1^{th}$ set
$=((1)+(2+3)+(4+5+6+7+8+9)+...+(...+n^2))\,-\,((1)+(2+3)+(4+5+6+7+8+9)+...+(...+(n-1)^2))$
$=\frac{(n^2)*(n^2+1)}{2}-\frac{((n-1)^2)*((n-1)^2+1)}{2}$
$=\frac{4n^3+6n-6n^2-2}{2}$
$=(n-1)^3+n^3$
Correct me if i'm wrong