The 'skew' transformation is used here again. In Ex. 1 the original (red) square is skewed by +10°, +45°, & +60° on the 'x' axis. Note that the direction of skew is anti-clockwise from the vertical.
When negative values are used for the 'x' axis, as in Ex. 2, the direction of skew is clockwise.
All done.