Five persons are standing in a queue. P and B are at the extreme ends. A is standing ahead of S. X is behind B. S is between P and A.
If A and the B exchange their positions, and also the X and the S, then who will be standing behind S?
From last to first: P-S-A-X-B.
B will be behind S if A and B, X and S exchange their positions.