With White to move, his rook would cut your king off along a rank, and the pawn would win. You are to move, and only one move draws. The rule here: get your king to the fifth rank before his rook does, then check his king from the front. The pawn has not crossed the middle of the board, so your rook has room to keep checking.