Answer: 4 pairs of socks
Explanation:
According to the described situation, Anika spends
in 1 pair of shin guards for
and
pairs of socks for
each pair.
So, we can express this in the following equation:

Isolating
we will find the pairs of socks:


Hence, Anika bought 4 pairs of socks.