\begin{enumerate}
    \setcounter{enumi}{1}
	\item The tiler wants to make a set of instructions that he can give to people who want to make the same tiling pattern.
	
	Fill the spaces with the following elements to complete the instructions that will produce the pattern below.
\end{enumerate}

\qquad \fcolorbox{blue}{blue!40}{\makebox[1.1cm]{IF}} \fcolorbox{blue}{blue!40}{\makebox[1.1cm]{THEN}} \fcolorbox{blue}{blue!40}{\makebox[1.1cm]{ELSE}} \fcolorbox{red}{red!40}{\makebox[1.1cm]{TILE A}} \fcolorbox{red}{red!40}{\makebox[1.1cm]{TILE B}}

\qquad \begin{minipage}{2.5cm}
\includegraphics[height=2.5cm]{PISA/2022/PISA_2022_Mathematics_items_Exo4_IMG1.jpg}

\bigskip

\includegraphics[height=2.5cm]{PISA/2022/PISA_2022_Mathematics_items_Exo4_IMG2.jpg}
\end{minipage}
\qquad
\begin{minipage}{11cm}
\includegraphics[width=10cm]{PISA/2022/PISA_2022_Mathematics_items_Exo4_IMG5.jpg}
\end{minipage}

\qquad \fcolorbox{blue}{white}{\begin{minipage}{10cm}\underline{TILING INSTRUCTIONS}

\medskip

For row = 1 to 4

\hspace{.5cm}\textcolor{green}{"First determine the left hand tile in the row"}

\hspace{.5cm}\fcolorbox{blue}{blue!40}{\makebox[1.1cm]{IF}} the row is an odd numbered row

\hspace{.5cm}\hspace{1.1cm}\fcolorbox{blue}{blue!40}{\makebox[1.1cm]{THEN}} the first tile is \fcolorbox{red}{red!40}{\makebox[1.1cm]{\phantom{T}}}

\hspace{.5cm}\hspace{1.1cm}\fcolorbox{blue}{blue!40}{\makebox[1.1cm]{ELSE}} the first tile is \fcolorbox{red}{red!40}{\makebox[1.1cm]{\phantom{T}}}

\hspace{.5cm}\textcolor{green}{"Complete the row by adding tiles"}

\hspace{.5cm}\fcolorbox{blue}{blue!40}{\makebox[1.1cm]{IF}} the previous tile is \fcolorbox{red}{red!40}{\makebox[1.1cm]{\phantom{T}}}

\hspace{.5cm}\hspace{1.1cm}\fcolorbox{blue}{blue!40}{\makebox[1.1cm]{\phantom{T}}} use \fcolorbox{red}{red!40}{\makebox[1.1cm]{\phantom{T}}}

\hspace{.5cm}\hspace{1.1cm}\fcolorbox{blue}{blue!40}{\makebox[1.1cm]{\phantom{T}}} use  \fcolorbox{red}{red!40}{\makebox[1.1cm]{\phantom{T}}}

Next row
\end{minipage}}

\vspace*{\baselineskip}
