Steve bought a total of 6 packages of pens, and each package contained either 3 or 7 pens. If exactly 4 of the packages Steve bought contained 7 pens, how many pens did Steve buy?

Steve bought a total of 6 packages of pens, and each package contained either 3 or 7 pens. If exactly 4 of the packages Steve bought contained 7 pens, how many pens did Steve buy?

Detailed Explanation

Steve bought 4 packages of 7 pens, so he bought 4×7 = 28 pens from those packages.

He also bought 6-4 = 2 packages of 3 pens, so he bought 2×3 = 6 pens from those packages.

In total, Steve bought 28+6 = 34 pens.

He also bought 6-4 = 2 packages of 3 pens, so he bought 2×3 = 6 pens from those packages.

In total, Steve bought 28+6 = 34 pens.