First of all, the a2g8 diagonal must be accessible to your Queen, and open to the opponent's king. Secondly, your knight must have access to f7. And finally, the 8th rank defender cannot be a queen.