If CARPET is coded as TCEAPR, then the code for NATIONAL would be
NLATNOIA
LANOITAN
LNAANTOI
LNOINTAA
None of these
The word is coded in the pair of Last & first, 2nd Last & 2nd, 3rd Last & 3rd and so on.
NATIONAL => LNAANTOI