Technically, all of the choices can be written as a difference of squares. Just find the square root of both terms and use the formula
[tex]a^2 - b^2 = (a + b)(a - b)[/tex]
where [tex]a[/tex] and [tex]b[/tex] are terms.
However, I am going to assume that your problems want to know if the expressions can be written as a difference of two squares, where [tex]a^2[/tex] and [tex]b^2[/tex] are either variables with an even exponent or a perfect square, as this is what many instructors are asking for.
A) A cannot be written as a difference of two squares, because even though 25 is a square, [tex]p^9[/tex] is not a variable with an even exponent, which means that we can not apply the Differences of Squares.
B) Similar to Choice A, we cannot apply the Differences of Squares given the context because 18 is not a perfect square.
C) We can apply it to Choice C, since [tex]g[/tex] has an even exponent and 36 is a perfect square. Applying the formula, we get:
[tex]g^2 - 36 = (g + 6)(g - 6)[/tex]