Answer:
If John’s great-grandfather was killed as a child, John would not have been born. John would not have been able to travel back in time to take his great-grandfather to the circus. So his grandfather would not have been killed. If his grandfather had not been killed, John would have been born and could travel through time.