I decided not to mention that, primarily because the focus of the question was whether you could use the first formula if you were given EBIT, but not S & C separately; in that case, you cannot use the second formula.
You are correct: they’re algebraically equivalent, so if you have S, C, D, and T given, you can use either with equal satisfaction.
I started plugin the values using the second formula and realized I was wrong. At first I did not understand why as the two formulas are equivalent. I also thought about something I read in other chapters (in the equity part), that argued that EBIT was a bad proxy to estimate CF, but in this case it seems that we can just plug EBIT for S - C - D
Anyway thanks to both of you for your explanations!