How can one deterimine if a polynomial is the difference of two squares?

please help me answer, thanks :)

if it has two terms, the second is subtracted.

a-b is a difference of two squares, for any positive a and positive b.

(sqrta-sqrtb)(sqrta+sqrtb)