To find the cost of each pair of socks, we can first express the total amount Amari spent in terms of the cost of the socks.
Amari spent a total of $47. He bought one shirt for $26 and 3 pairs of socks, each costing \( x \).
The equation representing this situation can be written as:
\[ 26 + 3x = 47 \]
Now, we can solve for \( x \):
- Subtract 26 from both sides:
\[ 3x = 47 - 26 \]
\[ 3x = 21 \]
- Divide both sides by 3:
\[ x = \frac{21}{3} \]
\[ x = 7 \]
Thus, the cost of each pair of socks is $7.