Woohoo! I rock!
After many minutes of puzzlement, I managed to fix the puncture on my bike! I'm so chuffed with myself - the bike even works afterwards, so I can't have broken it getting the back wheel off/on.