Which one of the options best describes the transformation of the 2-dimensional figure P to Q, and then to R, as shown?