The correct option is D KQXCF
Given, RAIL is written as KCTN and SPEAK is written as CGRUM.
Here, all letters except the last letter are written in reverse order and then each letter moves 2 steps forward to get the code.
Similarly, AVOID is coded as:
AVOID→IOVAD→KQXCF
Hence, option (B) is the correct answer.