√54m⁸ × √5m⁴ and

√8a³b × √10a²b7

i don't understand why the answer to #7 isnt 3m⁶√30 because in #8, the variables go on the inside once you simplify, but they go on the outside in #7. please help me, I'm just trying to understand the difference between these two questions that causes that.

54m 5m and 8ab 10ab7 i dont understand why the answer to 7 isnt 3m30 because in 8 the variables go on the inside once you simplify but they go on the outside in class=