Marek Zaven TOTAL
Start 900-z z 900
AFTER
SPENT 900-z-0.75x z-x=0.5x
900-z-0.75x=(0.75)(900-z-0.75x+0.5x)
| Zaven | Marek | Total | |
| Start | 3x | 900-3x | 900 |
| Spent | 2x | 1.5x | 3.5x |
| Final | x | 900-4.5x | 900-3.5x |
"Marek had 75% of the total number of coins the two friends had left in the end"which means we'll use the last two entries of the bottom row to form this equation
| Zaven | Marek | Total | |
| Start | 360 | 540 | 900 |
| Spent | 240 | 180 | 420 |
| Final | 120 | 360 | 480 |