In mathematics, how to calculate when the index and base are not equal For example: 0.25^2009*4^2010-8^100*0.5^300

In mathematics, how to calculate when the index and base are not equal For example: 0.25^2009*4^2010-8^100*0.5^300

According to a ^ n * B ^ n = (AB) ^ n, (a ^ m) ^ n = a ^ Mn
0.25^2009*4^2010-8^100*0.5^300
=0.25^2009*4^2009*4-8^100*(0.5^3)^100
=(0.25*4)^2009*4-(8*0.5^3)^100
=1^2009*4-1^100
=4-1
=3