I can't see how the TurboTax guided questions get to this calculation.
I think this article will help answer your questions: Roth IRA Withdrawal Rules and Penalties