A queen beats two connected passed pawns, but you must stop them before they reach the seventh rank with their king behind them. First check, then blockade, then bring your king.