The group is the group of symmetries of a square. For your group, y corresponds to a clockwise (or anticlockwise) rotation of 90 degrees. So where 1 is the identity (not rotating). x can be thought of as 'flipping' the square over and x^2=1.

Wiki explains it better

Dihedral group - Wikipedia, the free encyclopedia