\begin{figure}[htbp] \centering \begin{tikzpicture}[x=.59cm,y=.44cm] \permutationaxes{9}{1,...,9} \draw[figred,dashed] (1,9)--(3,7)--(5,6)--(6,4)--(7,3); \foreach \i/\j in {1/9,3/7,5/6} \fill[figred] (\i,\j) circle[radius=2.2pt]; \foreach \i/\j in {2/2,4/1} \fill[figblue] (\i,\j) circle[radius=2.2pt]; \foreach \i/\j in {8/8,9/5} \fill[figgreen] (\i,\j) circle[radius=2.2pt]; \foreach \i/\j in {6/4,7/3} \draw[figred,thick,fill=white] (\i,\j) circle[radius=2.2pt]; \node[fig label,text=figblue,anchor=west] at (10,8) {\(A=\{2,4\}\)}; \node[fig label,text=figred,anchor=west] at (10,6.65) {\(Q=\{1,3,5\}\)}; \node[fig label,text=figred,anchor=west] at (10,5.3) {\(M=\{6,7\}\)}; \node[fig label,text=figgreen,anchor=west] at (10,3.95) {\(D=\{8,9\}\)}; \end{tikzpicture} \caption{In \(w=\pat{927164385}\), the open circles mark \(M\). The dashed line joins \(Q\cup M\) in position order. Since \(w|(Q\cup M)\) is decreasing, its factor in \(P_w(q)\) is \(1\).} \label{fig:remove-sink} \end{figure}