Step 1: The original row (positions 1 to 11) is: Q, W, M, V, N, U, S, O, T, P, R.
Step 2: Now swap the stated pairs one at a time. Swap Q (position 1) and P (position 10): position 1 becomes P, position 10 becomes Q.
Step 3: Swap O (position 8) and N (position 5): position 5 becomes O, position 8 becomes N.
Step 4: Swap M (position 3) and T (position 9): position 3 becomes T, position 9 becomes M.
Step 5: Swap W (position 2) and R (position 11): position 2 becomes R, position 11 becomes W.
Step 6: The new row is: P, R, T, V, O, U, S, N, M, Q, W. The two ends are position 1 (P) and position 11 (W), so P and W are sitting at the ends.