White can win in 2 moves by first moving their knight to f7, putting the black king in check. Black has no choice but to move their king to either g8 or h8 to get out of check. White then moves their rook to the vacant h7 square, delivering checkmate.