that's a good idea , but always see what is ur opponent response :
so after rook takes pawn, black has ways to protect his queen and avoid checkmate , after rook takes pawn , he can go queen f6 and he's fine ,
now here's a tip that can always help a lot , " always look for checks at first"
in this puzzle , we can go queen f7 check , because our rook and queen are looking at that square , the king has to go to h8 , then we can play the brilliant queen f8 check , he has to take with the rook and we take back with the rook and it's a checkmate
Chess Puzzles - Learn Themes and Patterns - Chess.com
I wanted to play rook takes pawn and hit the queen and then play queen takes pawn checkmate