Mary wants her friend to guess how many cards she has in her hand. She says that if the number of cards in her hand is tripled, and 4 are added, then she has 22 cards.