Okay thank you. Also how do you know that this expression is a difference of two squares?
or is it in general any expression like that can be expressed as a difference of two squares?
If there are only two terms and both are squares it's likely to be the difference of two squares. Essentially keep a lookout for quadratics with no x term.