Step 1: Understanding the morphological features.
- Trilobite: Characterized by the presence of a hypostome, a rigid plate near the mouth used for feeding. Thus, \( P \rightarrow 2 \).
- Brachiopod: Identified by the presence of a delthidial plate, a small plate covering the pedicle opening. Thus, \( Q \rightarrow 3 \).
- Bivalve: Often shows a lunule, a depressed area in the shell near the beak. Thus, \( R \rightarrow 4 \).
- Echinoid: Has a periproct, the anal opening at the posterior end of the test. Thus, \( S \rightarrow 1 \).
Step 2: Final matching.
\[
P \rightarrow 2, \quad Q \rightarrow 3, \quad R \rightarrow 4, \quad S \rightarrow 1
\]
\[
\boxed{\text{Correct option is (B)}}
\]