Here's why:
* n-pentane indicates a straight-chain alkane with five carbon atoms.
* Alkanes have the general formula CₙH₂ₙ₊₂, where n is the number of carbon atoms.
* Substituting 5 for n in the general formula, we get C₅H₁₂.