A certain company charges $6 per package to ship packages weighing less than 2 pounds each. For a package weighing 2 pounds or more, the company charges an initial fee of $6 plus $2 per pound. If the company charged $38 to ship a certain package, which of the following was the weight of the package, in pounds?