	\begin{minipage}{0.3\textwidth}
		\centering
	\begin{tikzpicture}[scale=0.6]
			\path[fill=green!20] (2,0) rectangle (4,-3) node[pos=.5, color=black] {};
			%\path[pattern=horizontal lines, pattern color=green!30] (2,0) rectangle (4,-3) node[pos=.5, color=black] {};
			\path[fill=myblue!10] (0,0) rectangle (2,-3) node[pos=.5, color=black] {};
			\path[pattern=north west lines, pattern color=myblue!30] (0,0) rectangle (2,-3) node[pos=.5, color=black] {};
			\path[fill=myred!10] (2,-3) rectangle (4,-6) node[pos=.5, color=black] {};
			\path[pattern=north east lines, pattern color=myred!30] (2,-3) rectangle (4,-6) node[pos=.5, color=black] {};
			\draw[->,>=latex] (0,0.5) -- (0,-7.5);
			\draw[->,>=latex] (-0.5,0) -- (6.5,0);
			\draw (0,-5) -- (4,-1);
			\draw[color=myblue,line width=2pt] (0,0) -- (0,-1) -- (1,-1) -- (1,-2) -- (2,-2) -- (2,-3); 
			\draw[color=myred, line width=2pt] (2,-3)-- (2,-4) -- (3,-4) -- (3,-5) -- (4,-5) -- (4,-6);
			\foreach \x in {0,...,6}
			\foreach \y in {-7,...,0}
			{\draw[fill=black](\x,\y)circle(2pt);}
			\draw[fill=myblue,color=black](2,-3)circle(4pt);
			\node[below left=-0.1, color=black] at (0,0) {\footnotesize $(0,0)$};
			\node[below right=-0.1, color=black] at (4,-6) {\footnotesize $(k,n+m-k)$};
			\node[below left=-0.1, color=black] at (0,-5) {\footnotesize $(0,n)$};
			\node[above right=-0.1, color=black] at (4,-1) {\footnotesize $(k,n-k)$};
			%\draw[->,>=latex,blue,very thick] (0,0) -- (-1,0) -- (-2,0) -- (-3,1) -- (-4,2);
			\draw[fill=black,color=black](0,0)circle(4pt);
			\draw[fill=black,color=black](4,-6)circle(4pt);
			\draw[fill=black,color=black](0,-5)circle(4pt);
			\draw[fill=black,color=black](4,-1)circle(4pt);
			\node[below right=-0.1, color=black] at (2,-3) {\footnotesize \color{black} $(j,n-j)$};
		\end{tikzpicture}
	\end{minipage}
	\hfill
	\begin{minipage}{0.65\textwidth}\centering
		\begin{tikzpicture}[scale=0.6]
			\path[fill=green!20] (-5,0) rectangle (-8,3) node[pos=.5, color=black] {};
			%\path[pattern=horizontal lines, pattern color=green!30] (2,0) rectangle (4,-3) node[pos=.5, color=black] {};
			\path[fill=myblue!10] (0,0) rectangle (-5,3) node[pos=.5, color=black] {};
			\path[pattern=north west lines, pattern color=myblue!30] (0,0) rectangle (-5,3) node[pos=.5, color=black] {};
			\path[fill=myred!10] (-5,3) rectangle (-8,4) node[pos=.5, color=black] {};
			\path[pattern=north east lines, pattern color=myred!30] (-5,3) rectangle (-8,4) node[pos=.5, color=black] {};
			\draw[->,>=latex] (0,-0.5) -- (0,6.5);
			\draw[->,>=latex] (0.5,0) -- (-9.5,0);
			\draw[color=myblue,line width=2pt] (0,0) -- (-1,0) -- (-1,1) -- (-2,1) -- (-2,2) -- (-3,2) -- (-4,2) -- (-4,3) -- (-5,3);
			\draw[color=myred,line width=2pt] (-5,3) -- (-6,3) -- (-7,3) -- (-7,4) -- (-8,4) ;
			\foreach \x in {-9,...,0}
			\foreach \y in {0,...,6}
			{\draw[fill=black](\x,\y)circle(2pt);}
			\node[below right=-0.1, color=black] at (0,0) {\footnotesize $(0,0)$};
			\node[above right=-0.1, color=black] at (-6,4) {\footnotesize $(k-m,n+m-k)$};
			\node[below right=-0.1, color=black] at (-2,0) {\footnotesize $(n,0)$};
			\node[above=-0.08, color=black] at (-8,4) {\footnotesize $(k,n+m-k)$};
			\node[above right=-0.1, color=black] at (-5,3) {\footnotesize \color{black}$(j,n-j)$};
			\draw[fill=black,color=black](0,0)circle(4pt);
			\draw[fill=black,color=black](-8,4)circle(4pt);
			\draw (-2,0) -- (-6,4);
			\draw[fill=black,color=black](-2,0)circle(4pt);
			\draw[fill=black,color=black](-6,4)circle(4pt);
			\draw[fill=myblue,color=black](-5,3)circle(4pt);
		\end{tikzpicture}
	\end{minipage}