There are two jars of sweets.
If 20 are taken from the first jar and put into the second, they are in the ratio of 1:2
If 60 are now taken from the second and put into the first, they are in the ratio of 3:1
Work out the original amount in each.