A sum of money is divided between two friends in the ratio 4:9. If the smaller amount is $560, determine:
a) the total money shared
b) the value of the larger amount of money