Retirement tax questions

You can take $30,000, or less, out of your Roth IRA to pay your tax.

After subtracting your total contributions, penalty on early withdrawal of Roth earnings is another 10%.

Contributions come out first, then earnings if any.