A party rental company has chairs and tables for rent. The total cost to rent 5chairs and 3 tables is $37. The total cost to rent 2 chairs and 6 tables is $64. What is the cost to rent each chair and each table?