Given.,
EARTH is coded as FBSUI
E ----->F ie., next alphabet after E
then ,
A ------> B
R-------> S
T ------> U
H ------> I
Similarly,
the code for FRUIT is
F-------> next alphabet is G
R-------> next alphabet is S
U-------> next alphabet is V
I--------> next alphabet is J
T-------> next alphabet is U
Hence the code for FRUIT is GSVJU.