It's not really a shortcut but an equivalent equation. That's how these two perfect square equations work. So when you see an expression written out and it fits the perfect square of a trinomial criteria it can be rewritten in the shorter form. Still confused? Watch this video as the instructor explains what this all means.