# Sum of infinite geometric series within probability generating function question

I'm working through the solution posted for this question here:

But I'm stuck on the last line finding the probability generating function. I know that part of the answer involves finding the sum of an infinite geometric series and then flipping it back to get z on it's own but I don't get the circled part in the picture below. Any pointers on how you can do this would be appreciated!

Image