In the first and second statements, the common digit is '2' and the common word is 'from'.
So, '2' is the code for 'from'.
In the first and third statements, the common code digit is '8' and the common word is 'paper'.
So, '8' is the code for 'paper'.
Clearly, in the second statements, either '7' or '6' may be the code for 'tea'.