Answer: 30 token
Step-by-step explanation:
Since, according to the question,
Initially, for every 8 tokens I had, my friend had 3.
Therefore, ratio of tokens that me and my friend is 8 : 3
Let I have 8 x tokens and my friend has 3 x tokens, where x is any number.
Then again according to the question,
After I gave half of your friend, my friend now has 18 more tokens than you.
That is, (3x + 4x) - 4x = 18
⇒ 7x - 4x = 18
⇒ 3x = 18
⇒ x = 6
Therefore , Initially the difference between me and my friend's token = 8 x - 3 x = 5 x = 5 × 6 = 30