\documentclass[a4paper,10pt,twoside,onecolumn,titlepage,openright]{book}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
%\usepackage{amsthm}
\usepackage[paperwidth=16cm, paperheight=24cm]{geometry}
\usepackage[frame,axes,a4,center,noinfo]{crop}
\usepackage{graphicx} 
\usepackage{subfigure}
\usepackage{framed}
\usepackage{color}
%\usepackage{roundbox}
%\renewcommand{\baselinestretch}{1.2}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
\setdigitfont[Scale=1]{Persian Modern}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[thmmarks,framed]{ntheorem}
\theoremstyle{plain}
\theorembodyfont{\normal}
\renewcommand\FrameCommand{{\color{cyan} \vrule width 10pt \hspace{10pt}}}
    
\theoremstyle{theorem}
\newtheorem{theorem}{قضیه}[chapter]
\theoremstyle{definition}
\newtheorem{definition}{تعریف}[section]

\newframedtheorem{example}{مثال}

\begin{document}
از این دستور هم برای الصاق عکس استفاده کردم:
\\
\begin{figure}[h!] 
\begin{center}
\scalebox{0.4}{\includegraphics{Picture2/Drawing1}}
\caption{\label{algo1}
نمودار الگوریتم روش تنصیف}
\end{center}
\end{figure}
\\
برای الصاق چند عکس با یک زیر نویس:
\\
\begin{figure}[h!]
\begin{center}
\subfigure[
همگرایی در صورتی است که زاویه مماس بر نمودار در نقطه برخورد با خط نیمساز ربع اول
$\theta<45^\circle$]{\scalebox{0.4}{\includegraphics{Picture2/6}}}
\subfigure[
واگرایی در صورتی است که زاویه مماس بر نمودار در نقطه برخورد با خط نیمساز ربع اول
$\theta>45^\circle$]{\scalebox{0.4}{\includegraphics{Picture2/8}}}
\caption{\label{fig7}
شرایط همگرایی و واگرایی یک تابع نزولی}
\end{center}
\end{figure}
\\
\end{document}