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