Let the length of side of smaller square be 'y' and the bigger be 'x'.
area of bigger square =x^2,
area of smaller square=y^2,
"y=5" that is, length of the smaller one is5,
therefore the length of the bigger square is 8.