Consider rectangle in the coordinate plane with vertices . We have the following transformations: rotations of and counterclockwise around the origin, and reflections along the line and the line . How many of the sequences of three transformations (not necessarily distinct) will return to its original position?