The Pontiac G5 does not have an external fuel filter; it is integrated into the fuel pump in the fuel tank.
Therefore, changing the fuel filter on a Pontiac G5 involves dropping the fuel tank (unless modified to be accessed from either under or inside the trunk) and replacing the entire fuel pump/filter assembly.