This is a sophism, i.e. a seemingly reasonable proof of a wrong statement (check other sophisms in the series to see what I mean). So, don't take it too seriously.
Although this particular sophism is humorous, it does have a "logical flaw" in it as well. That is, if you think a bit, you can actually find a convincing explanation for what is really "wrong" here (besides the whole act of combining arbitrary quotes into "formulas", of course).