Trail : Any terminal which is present at the last of a right sentential form (and not the sentence) which is derived from a non-terminal is the trailing of that non-terminal.
Trail(E) :
E→E+T --In this the trailing is '+'
E→E+T∗F [using T→T∗F] -- Here trailing is '∗'
E→E+T∗(E) [using F→(E)Here trailing is ')'
(from E+T∗F) →E+T∗id [using F→id] -- Here trailing is 'id'
therefore
trail(E) = {+,∗,),id}
Similarly for T={ * , id, )}
E→ E+T
E+T*F or E→E+T*id
E+T*(E)
for F={ id, )}
E→ E+T
E+T*F
E+T*(E) or E+T*id