Correct option is A
Given: ‘LDWR’ is coded as ‘NGUQ’, and ‘BFKZ’ is coded as ‘DIIY’.

Logic:
First letter + 2
Second letter + 3
Third letter – 2
Fourth letter – 1
Explanation: ‘LDWR’ to ‘NGUQ’:
L + 2 = N
D + 3 = G
W – 2 = U
R – 1 = Q
And, ‘BFKZ’ to ‘DIIY’:
B + 2 = D
F + 3 = I
K – 2 = I
Z – 1 = Y
Now, let’s apply the same pattern to ‘YTGX’:
Y + 2 = A
T + 3 = W
G – 2 = E
X – 1 = W
So, YTGX is coded as AWEW.
Therefore, the correct option is option (a).