Please explain powr fnc

please explain powr fnc

sorry i missed your doubt

image

property used is
a^b = square of (a^(b/2)) if b is even
a^b = a* a^(b-1) if b is odd

what thing is problematic here??
i will explain that

dry run it once