The ratio is 2:7>their mom gives each of them the 15 marbles and now David has twice as many marbles as Charlie.How many marbles does each boy have

d/c = 2/7

c+15 = 2(d+15)

now solve for c and d.