Andy, Bob, and Carl were going to the Tees 'n Caps shop where all t-shirts cost the same and all caps cost the same. Andy bought a t-shirt and a cap for each of his six friends. Bob returned two caps and two t-shirts, while Carl bought three t-shirts and returned a cap. Together they spent a total of $71. If a cap cost $5, what is the price of a t-shirt?