The same thing was repeated with twice as many dice and again the total number of pips was a perfect square and a number formed by using the digits that represent the pips in ascending order was the square of the first number formed that way.

What were the two numbers formed by the digits representing the pips (the first number and its square)?