X = $50.
We need to equip ourselves for 8 weeks of negative variance, 4 weeks of studying/breaks. This is $150. Let's say we lose 15 buyins over this period, that's $375. We then have $575 - just enough bankroll to play poker.
IMO quitting your job is sub-optimal until you have >6X and 60BI.
Therefore our 25NLer needs a minimum of $7500 to quit his job if his bills are 1k/mo.