Bag A contains 7x counters.
Bag B contains 2x counters.
Five counters are taken from bag A and put in bag B.
The ratio of counters in bag A to bag B is now 8:3.
Use algebra to work out the total number of counters in the bags.​