Kate bought $$2$$ apple pies and Lucy bought $$4$$ cupcakes. They each paid the same amount of money and together they paid $$16$$ dollars. How many dollars does $$1$$ cupcake cost? 
选项为:A:$$2$$  B:$$4$$  C:$$6$$  D:$$10$$  E:$$12$$  请回答其中一个选项.