To find out how much each pair of socks costs, we start by determining how much money Amari spent on the socks after buying the shirt.
- Amari spent a total of $47 at the mall.
- He bought one shirt for $26.
We can calculate how much he spent on the socks:
\[ \text{Money spent on socks} = \text{Total money spent} - \text{Cost of shirt} = 47 - 26 = 21 \]
Amari bought 3 pairs of socks for a total of $21. To find the cost of each pair of socks, we divide the total cost by the number of pairs:
\[ \text{Cost of each pair of socks} = \frac{\text{Total cost of socks}}{\text{Number of pairs}} = \frac{21}{3} = 7 \]
Therefore, the cost of each pair of socks is $7.