A thin wire forms a quarter-circle of radius 4 cm in the first quadrant, centered at the origin. At an angle θ (in radians) from the positive x-axis, its linear mass density is λ(θ)=3+2θ grams per centimeter along the wire. Determine the mass of the wire, expressed in grams.