A t-shirt shop bought a total of 24 t-shirts (t) and hats (h) combined. They bought t-shirts for $12.50 each and hats for $8 each. The store spent a total of $259.50, which system of equations could be used to find the number of hats and t-shirts bought?