Pawn on the seventh, your king in front of it, and Black's rook set up on the a-file to check from the side. From the a-file only two files, b and c, separate the rook from the d-pawn: one short of the three the rule requires.