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