They added ##\varphi^3-2\varphi^2## to both sides of the equation. Since they've added these terms to both sides, they cancel each other out, so they haven't changed the equation or relationship. As demonstrated, this can be a very useful tool to make the algebra a bit easier or to demonstrate a...