(a) In P, Q and S. In these three blocks the ray leaves through the face parallel to the face it entered. At the first face sini=nsinr. Inside, the ray meets the parallel face at the same angle r, so at the second face nsinr=sine. Hence e=i, and with parallel normals the emergent ray is parallel to the incident ray, only shifted sideways, just as in a glass slab.
In R, the ray enters one slanted face of the trapezium and leaves through the other slanted face. These faces are not parallel, so the block acts like a prism: the normals differ, e=i in general, and the ray is deviated towards the wider base.
(b) The emergent rays are shown in the figure. In P, Q and S each is parallel to its incident ray and displaced sideways. In R it bends away from the normal at the exit face, towards the broader part of the block, and makes an angle with the incident direction.
