Marbles are stored in blue bags and red bags. There is a total of 48 marbles in 2 blue bags and 3 red bags. There is a total of 65 marbles in 5 blue bags and 2 red bags. Work out the number of marbles in each blue bag and in each red bag.