You can put this solution on YOUR website! The relationship when squares have diagonals is we can easily solve it by 45-45-90 triangles. Since the given is the longest side which is 18 sqrt of 2, then the side of the square is simply 18cm.
P=4s
P=4(18)
P=72cm
:)