Puzzle of the Week #257 - Two Squares

Two squares are arranged as shown, one of them rotated 45 degrees with respect to the other, and the perimeters of the two squares coinciding at three points.

What is the ratio of the areas of the two squares?

square areas.JPG