Does g squared-9 have factors? (g squared minus 9)]If so, how come they don't have any "middle terms"?

g²-9 has factors without having the middle terms. The expression belongs to the standard form :

x²-y² = (x+y)(x-y)

Give it a try and post your answer for checking if you wish.