The correct answer is:
He can buy 3 packs of 10 or 30 single pieces.
Explanation:
He needs 30 pieces. Since they are sold in 10 packs, it would take 30/10 = 3 packs of 10.
Other than this, the pieces are sold as singles. This means he could also buy 30 single pieces.