Distance formula
Now
#1
#2
#3
#4
#5
16a^18 is the answer for what you typed
If the question was ((2a^3)(4a^6)(2a^3))^6, then the answer would be 16a^72.