So I have the answer to this problem, and I know it's correct, but I want to be sure that the moves I made were legal to get there. Here's the problem:

Here's what I did:

Were all my moves legal? Specifically, moving the limit sign up into the exponent. Is there a rule that let's me say ?