Eric spent $14 on a shirt and some socks. if the shirt cost $6 and each pair of socks cost $2 then how many pairs of socks did he buy?