Let be a side of the smaller square and let be a side of the bigger square.

The area of the smaller square is:

The area of the bigger square is:

So: (1)

You know the ratio of the sides of 2 square is: , try to express this in function of and and then you can substitute this given into equation (1).