If PEOPLE is coded as PLPOEE, how is TREND coded ?

Answer: E. TNERD

The first and the last letters of the word remain unchanged, while the second and second last, third and third last so on are interchanged, to obtain the code.