Correct option is A

TRIP → WULS
Comparing each letter pair:
- T → W: T (20th letter) → W (23rd letter) = +3
- R → U: R (18th letter) → U (21st letter) = +3
- I → L: I (9th letter) → L (12th letter) = +3
- P → S: P (16th letter) → S (19th letter) = +3
Example 2: SOME → VRPH
Comparing each letter pair:
- S → V: S (19th letter) → V (22nd letter) = +3
- O → R: O (15th letter) → R (18th letter) = +3
- M → P: M (13th letter) → P (16th letter) = +3
- E → H: E (5th letter) → H (8th letter) = +3
Observed Rule:
Each letter in the word is shifted +3 in the alphabet to encode the corresponding letter in the output.
Applying the Rule to CLAN:
- C → F: C (3rd letter) → F (6th letter) = +3
- L → O: L (12th letter) → O (15th letter) = +3
- A → D: A (1st letter) → D (4th letter) = +3
- N → Q: N (14th letter) → Q (17th letter) = +3
Encoded word: FODQ