Yes, but without 2b it wouldn't work.
He pulled 2b out of his ass.
This is math, not science (though they are related). In science, you cannot pull things "out of your ass," but in just math it is okay.
And "adding" the 2b part is where the equation really failed. That made it 0 = 0, so the rest was unneeded.