We need to see that the only piece protecting the queen is the black rook on b8 and that the black king is trapped in back rank mate due to the white knight covering g7 square. Thus a direct attack on d8 forcing rook move should be enough to win the black queen.