\begin{tikzpicture}[ scale = 2,
    squarednode/.style={rectangle, draw=black!20, fill=white!5, very thick, minimum size=1cm},
    squarednodeG/.style={rectangle, draw=black!20, fill=green!20, very thick, minimum size=1cmm},
    squarednodeY/.style={rectangle, draw=black!20, fill=yellow!20, very thick, minimum size=5mm},
    ]
    
    \node[squarednode] at (0.25,0.25) (int) {1};
    \node[squarednode] at (0.75,0.25) (int) {2};
    \node[squarednode] at (1.25,0.25) (int) {3};
    \node[squarednode] at (1.75,0.25) (int) {4};
    \node[squarednode] at (2.25,0.25) (int) {5};
    \node[squarednode] at (2.75,0.25) (int) {7};
    \node[squarednode] at (3.25,0.25) (int) {9};
    \node[squarednode] at (0.25,0.75) (int) {6};
    \node[squarednode] at (0.75,0.75) (int) {8};
    \draw[very thick] (0,0)--(3.5,0)--(3.5,0.5)--(1,0.5)--(1,1)--(0,1)--cycle;
    
    \node[squarednode] at (5.25,0.25) (int) {1};
    \node[squarednode] at (5.75,0.25) (int) {2};
    \node[squarednode] at (6.25,0.25) (int) {4};
    \node[squarednode] at (5.25,0.75) (int) {3};
    \node[squarednode] at (5.75,0.75) (int) {5};
    \draw[very thick] (5,0)--(6.5,0)--(6.5,0.5)--(6,0.5)--(6,1)--(5,1)--cycle;
    
    \node[squarednode] at (7.75,0.25) (int) {1};
    \node[squarednode] at (8.25,0.25) (int) {2};
    \node[squarednode] at (8.75,0.25) (int) {4};
    \node[squarednode] at (9.25,0.25) (int) {6};
    \node[squarednode] at (7.75,0.75) (int) {3};
    \node[squarednode] at (8.25,0.75) (int) {5};
    \draw[very thick] (7.5,0)--(9.5,0)--(9.5,0.5)--(8.5,0.5)--(8.5,1)--(7.5,1)--cycle;
    
    \end{tikzpicture}