What are the chances of a 17 year old girl getting pregnant if she had unprotected sex 5 days after the last day of her period but the guy didn't ejaculate he ejaculated 1 hour before the sex occured?

You still have a good chance of getting pregnant. Usually a guy leaks a small amount of semen during intercourse, even before ejaculation, and it doesn't take much to get pregnant.