Two rooks work like a ladder: one cuts off a rank, the other gives check from the next rank. The king goes back one rank each time and is finally mated on the edge.
The rook on a7 cuts off the seventh rank. Give check from the eighth rank with the other rook: mate!
The rook on a7 seals the seventh rank. Climb the last step of the ladder with the other rook.
If the rooks get too close to the king on the ladder, it can attack them. Then move the rook to the far side of the board and continue the ladder from there.