A party rental company has chairs and tables for rent the total cost to rent 12 chairs and 2 tables is $39. The total cost to rent 3 chairs and 5 tables is $57 what is the cost to rent each chair and each table