Vivian and her friend Maddie are each baking apple pies and tarts for a bake sale, using the same recipes. Vivian baked 10 apple pies and 10 apple tarts, using a total of 130 apples. Maddie made 10 apple pies and 5 apple tarts, which used 100 apples. How many apples does each dessert require?