The key is to treat each transaction as distinct, for example, if a man purchases a horse for $60, sells it for $70, buys it again for $80, and then sells it again for $90.
10 is equal to -60 + 70 + 80 + 90.
The man’s profit totals $20 because he earned $10 on each transaction.
Did you tackle it in a different way? Tell us in the comments below, and if you want to test your friends, SHARE this issue.