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