Replacing a paycheck with a portfolio comes down to one equation: income target divided by yield equals capital required.