Socks cost $2 per pair. The cost of n pairs is $2n. John says that the cost of 6 pairs is $26 and the cost of 7 pairs is $27. Is this correct? What did John do wrong?