Transformations: Example 30. In this example a rectangle is translated and rotated.