Stewie spots his past self purchasing the gift that he bought just prior to Brian's death, and realizes he can use the past Stewie's time return pad to save Brian.
Stewie spots his past self. He bought just prior to Brian's death. He realizes. He can use the past Stewie's time return pad. This is to save Brian. This past self is purchasing the gift this.