Step 1: Write alphabet positions:
R=18, E=5, D=4 and coded as 4-5-18 (reverse order).
GREEN: G=7, R=18, E=5, E=5, N=14 $\rightarrow$ 14-5-5-18-7 (again reversed).
Step 2: Rule: Write positions of letters and reverse the sequence.
Step 3: For PINK:
P=16, I=9, N=14, K=11 $\Rightarrow$ 16-9-14-11.
Reversing $\Rightarrow$ 11-14-9-16.
Step 4: Matches option (D).