As long as you get on the last flight out you should have no problem catching the 7:00 am flight.
The other flight I would be mire concerned about because PG will be point to point, I think, so you will have to clear customs and immigration, claim your checked luggage (if any), check-im at TG and clwar security.