If Stefan had $20 to spend on two pens and ended up with $14 after buying them, then each pen cost $3. This can be calculated by subtracting the amount of money Stefan had left from the amount he started with: $20 - $14 = $6. Since Stefan bought two pens, each pen cost half of this amount, or $6 / 2 = $3.