White's pawn runs for a8 and your king has to catch it. Do not count moves one by one: draw the square of the pawn. If your king can step into it, the pawn is caught.