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