Suppose that there are two types of tickets to a show: advance and same-day. The combined cost of one advance ticket and one sam
e-day ticket is $40. For one performance, 20 advance tickets and 30 same-day tickets were sold. The total amount paid for the tickets was $950. What was the price of each kind of ticket?