Jasmine bought 3500g of flour. She used 3/7 of it to bake some tarts and 700g of it to bake a cake. Find the ratio of the amount of flour used for baking the cake to the amount of flour used for baking the tarts to the remaining amount of flour.​