“to i or not to i” is one of the puzzling things that crops up from time to time, so instead of trying to re-invent the wheel, I’d like to link to a previous post:
But one of the main takeaway points is that instead of thinking of the “i” being in front of the second verb, it is rather a necessary preposition following the first verb.