You specifically asked how to get from the second to last to the last equation.
If it were me, I would include those two equations in the body of the post for the convenience of our helpers, and then also include the link to the pdf for more information.