If GOLD is coded as EMJB, then code NMPR stands for what ?

If GOLD is coded as EMJB, then code NMPR stands for what ?

ONQT
ROTS
PORK
PORT
This question was previously asked in
UPSC CAPF – 2014
Analyze the coding pattern from GOLD to EMJB. The letter positions in the alphabet are G(7), O(15), L(12), D(4) and E(5), M(13), J(10), B(2). Comparing the positions: 7->5 (-2), 15->13 (-2), 12->10 (-2), 4->2 (-2). The pattern is a uniform shift of -2 for each letter. The question asks what the code NMPR stands for, meaning NMPR is the encoded word. To find the original word, apply the reverse pattern, which is a shift of +2 to each letter of NMPR. N(14)+2=P(16), M(13)+2=O(15), P(16)+2=R(18), R(18)+2=T(20). The original word is PORT. This matches option D.
Identify the letter-by-letter transformation rule (e.g., constant shift) used to encode the word. Apply the inverse rule to the given code to decode it.
Coding/decoding questions often involve simple arithmetic operations on letter positions in the alphabet. Pay attention to whether you are encoding (applying the rule) or decoding (applying the inverse rule).