\documentclass[8pt,a4paper]{article}
\usepackage[utf8]{inputenc}
%\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{framed}
\usepackage[left=1cm,right=1cm,top=1cm,bottom=1cm]{geometry}
\usepackage{pgf,tikz}
\usepackage{eurosym}
\usepackage{enumerate}
\usepackage{multicol}
\usepackage{cancel}
\usetikzlibrary{shapes}
\usetikzlibrary{patterns}
\usetikzlibrary{arrows}
\author{Barraud Yann}
\title{}

\usepackage[tikz]{bclogo}
%%%%%%%% Les beaux cadres %%%%%
\usepackage[tikz]{bclogo}
\newcommand{\prop}[1]{
\begin{bclogo}[barre = none, couleur = red!20, arrondi = 0.1,logo=\hspace{17pt}]{Propri\'et\'e}
#1
\end{bclogo}
}
\newcommand{\defi}[1]{
\begin{bclogo}[barre = none, couleur = blue!20, arrondi = 0.1,logo=\hspace{17pt}]{D\'efinition}
#1
\end{bclogo}
}
\newcommand{\voca}[1]{
\begin{bclogo}[barre = none, couleur = blue!20, arrondi = 0.1,logo=\hspace{17pt}]{Vocabulaire}
#1
\end{bclogo}
}
\newcommand{\safa}[1]{
\begin{bclogo}[barre = none, couleur = green!20, arrondi = 0.1,logo=\hspace{17pt}]{Savoir-faire}
#1
\end{bclogo}
}
\newcommand{\cadre}[2]{
\begin{bclogo}[barre = none, couleur = white!0, arrondi = 0.1,logo=\hspace{17pt}]{#1}
#2
\end{bclogo}
}

%%%%%%%%%%%%%%%%%%%%degre%%%%%%%%%%%%%%%%%%%%
\newcommand{\degre}{\ensuremath{^\circ}}
%%%%%%%%%%%Systèmess%%%%%%%%%%%%%%%%%%%%%

\newcommand{\sys}[2]{
\left\lbrace
\begin{array}{l}
#1\\
#2
\end{array}
\right.
}
%%%%%%%%%%%%%numérotation des exercices%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcounter{numexos}%Création d'un compteur qui s'appelle numexos
\setcounter{numexos}{0}%initialisation du compteur
\newcommand{\exo}[1]{%Création d'une macro ayant un paramètre
\addtocounter{numexos}{1}%chaque fois que cette macro est appelée, elle ajoute 1 au compteur numexos
\ \vspace{.1cm}\\
\textcolor{blue!100}{Exercice\,\thenumexos\,:}\,#1 
%Met en rouge Exercice et la valeur du compteur appelée par \thenumeexos
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\parindent=0cm  % Supprime le retrait automatique en début de paragraphe
\begin{document}
\pagestyle{empty}
\setlength{\columnseprule}{0.002cm}

% Titre du chapitre
\begin{minipage}{6cm}
\includegraphics[scale=.5]{coffre.png} 
\end{minipage}
\begin{minipage}{13cm}
\vspace*{1cm}
\begin{center}
{\Huge  \textbf{----- Crack the Code ! -----}}\\
\vspace*{.3cm}
\textbf{Calculatrice interdite !}\\
Sixième D
\end{center}
\end{minipage}
\begin{large}

\vspace*{0.5cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%  PREMIERE LIGNE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\begin{minipage}{6.3cm}
\textbf{\begin{large}
\begin{tabular}{cccccc}
&\hspace{.5cm}& &  7 & 0 & 9 \\ 
$\times$& & &  & 2 & 8 \\ 
 \hline 
 &...&...&...&...&... \\
+ &...&...&...&...&... \\
\hline
$A=$& &  &   &   &   \\ 
\end{tabular} 
\end{large}}
\end{minipage}
\begin{minipage}{6.3cm}
\textbf{\begin{large}
\begin{tabular}{cccccc}
&\hspace{.5cm} & & 5 & 1 & 2 \\ 
$\times$& & &  & 6 & 4 \\ 
 \hline 
 &...&...&...&...&... \\
+ &...&...&...&...&... \\
\hline
$B=$& &  &   &   &   \\ 
\end{tabular} 
\end{large}}
\end{minipage}
\begin{minipage}{6.3cm}
\textbf{\begin{large}
\begin{tabular}{cccccc}
&\hspace{.5cm} & & 6 & 2 & 5 \\ 
$\times$& & &  & 5 & 7 \\ 
 \hline 
 &...&...&...&...&... \\
+ &...&...&...&...&... \\
\hline
$C=$& &  &   &   &   \\ 
\end{tabular} 
\end{large}}
\end{minipage}

\vspace*{.4cm}
\rule{\linewidth}{1pt}
\vspace*{.4cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%  DEUXIEME LIGNE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Trois divisions euclidiennes avec un reste.
\vspace*{.3cm} \\
\begin{minipage}{6.3cm}
\begin{center}
Quotient $D=$\fbox{\begin{minipage}[c][.5cm][c]{2cm}
\hspace{2cm}
\end{minipage}}
\vspace*{.3cm}\\
Reste $E=$\fbox{\begin{minipage}[c][.5cm][c]{2cm}
\hspace{2cm}
\end{minipage}}
\vspace*{.3cm}\\
\begin{tabular}{ c c c c|c c c }
4  & 8 & 5 & 2 &   & 15 &   \\ 
\cline{5-7}
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
\end{tabular} 
\end{center}
\end{minipage}
\begin{minipage}{6.3cm}
\begin{center}
Quotient $F=$\fbox{\begin{minipage}[c][.5cm][c]{2cm}
\hspace{2cm}
\end{minipage}}
\vspace*{.3cm}\\
Reste $G=$\fbox{\begin{minipage}[c][.5cm][c]{2cm}
\hspace{2cm}
\end{minipage}}
\vspace*{.3cm}\\
\begin{tabular}{ c c c c|c c c }
9  & 3 & 7 & 4 &   & 8 &  \\ 
\cline{5-7}
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
\end{tabular} 
\end{center}
\end{minipage}
\begin{minipage}{6.3cm}
\begin{center}
Quotient $H=$\fbox{\begin{minipage}[c][.5cm][c]{2cm}
\hspace{2cm}
\end{minipage}}
\vspace*{.3cm}\\
Reste $I=$\fbox{\begin{minipage}[c][.5cm][c]{2cm}
\hspace{2cm}
\end{minipage}}
\vspace*{.3cm}\\
\begin{tabular}{ c c c c c|c c }
6 & 0  & 0 & 5 & 3 &   & 12    \\ 
\cline{6-7}
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
  &   &   &   &   &   &   \\ 
\end{tabular} 
\end{center}
\end{minipage}

\vspace*{.4cm}
\rule{\linewidth}{1pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%  TROISIEME LIGNE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace*{.1cm}\\
\begin{tabular}{|c|}
\hline
3,5 \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \times 10}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \times 100}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \div 1000}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \div 10}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \times 100}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}$\ =J$
\vspace*{0.6cm} 

\begin{tabular}{|c|}
\hline
6,4 \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \times 100}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} +12}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \div 10}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} +12}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}
$ _{------>}^{\hspace*{.3cm} \times 10}$  \begin{tabular}{|c|}
\hline
\hspace{1cm} \\
\hline
\end{tabular}$\ =K$\\
\vspace*{.1cm}
\rule{\linewidth}{1pt}
\vspace*{.1cm}\\
\begin{minipage}{9cm}
\begin{tabular}{cc}
\begin{tabular}{c}
$A\rightarrow$ \\
$B\rightarrow$ \\
$C\rightarrow$ \\
 \\
\end{tabular}
&
\begin{tabular}{cccccccc}
 & ... & ... & ... & ... & ...\\ 
+ & ... & ... & ... & ... & ...\\ 
+ & ... & ... & ... & ... & ...\\ 
\hline 
$L=$ &   &   &   &   & \\ 
\end{tabular} 
\end{tabular}
\end{minipage}
\begin{minipage}{9cm}
\begin{tabular}{cc}
\begin{tabular}{c}
$D\rightarrow$ \\
$F\rightarrow$ \\
$H\rightarrow$ \\
 \\
\end{tabular}
&
\begin{tabular}{ccccccc}
 & ... & ... & ... & ... \\ 
+ & ... & ... & ... & ... \\ 
+ & ... & ... & ... & ... \\ 
\hline 
$M=$ &   &   &   &   \\ 
\end{tabular} 
\end{tabular}
\end{minipage}


\vspace*{.4cm}
\rule{\linewidth}{1pt}
\vspace*{.4cm}

\begin{minipage}{9cm}
\begin{tabular}{cc}
\begin{tabular}{c}
$L\rightarrow$ \\
$M\rightarrow$ \\
 \\
\end{tabular}
&
\begin{tabular}{cccccccc}
 & ... & ... & ... & ... & ...\\ 
$-$ & ... & ... & ... & ... & ...\\ 
\hline 
$N=$ &   &   &   &  & \\ 
\end{tabular} 
\end{tabular}
\end{minipage}


\begin{center}
Le code secret est égal à $N+J+K$.
\vspace*{0.8cm}\\
\fbox{\begin{minipage}{5cm}
\hspace*{5cm}
\vspace*{1cm}
\end{minipage}}
\end{center}
\end{large}
\end{document}