The white king hides behind its g5 pawn, and your king stands on g8, in front of the pawn. The draw rests on one idea. The rule: send your rook along the first rank, far from the pawn, then bring it back to the eighth rank, and keep your king in front of the pawn.