Since every operation in this is multiplication, you can remove the parentheses. This is the associative property of multiplication. Now you can group the exponents and the normal factors together.
So the answer you put is correct. But, if your test is online and has a dumb grading system (like edulastic) I suggest you put 3.0 instead of 3.