Personally, i think it’s important to not really try to map these inputs to EBIT, etc, as the text doesn’t really work that way.
That said, EBIT is (not exactly, but more or less):
EBIT = (S-C-D) (since EBIT is after Deprecation, not before, that means it’s taken out already)
The last equation you have there is correct, except that it’s after-tax operating cash flow, not income. The distinction is important for capital budgeting purposes.