By DeMoivre's Theorem,
[2(cos(π/10) + isin(π/10))]5 = 25[cos(5(π/10)) + i sin(5(π/10))]
= 32[cos(π/2) + i sin(π/2)]
= 32[0 + i(1)] = 32i