IUPAC Naming. Which one is correct?
As Loong said, the up-to-date IUPAC recommendation stipulates that the chain with the longest continuous chain of carbon atoms should be the parent chain. For this reason, I would agree with your textbook's answer.