Rhonda bought five shirts from a store and had $10 left. If she had only bought three shirts, she would have had $24 left. If each shirt costs the same, which of the following equations could be used to determine x, the cost of each shirt, in dollars?