An adult ticket costs twice as much as a child's ticket. You purchased 5 child tickets and 2 adult tickets and paid $36. Find the price of an adult ticket. Find the price of a child's ticket.
a = 2c
5c + 2 * 2c = 36
9c = 36
c = 4
d = 12