\documentclass[12pt]{report}
\usepackage[metapost]{mfpic}
\usepackage[papersize={12cm,6cm},margin=4pt]{geometry}
\pagestyle{empty}
\begin{document}
\opengraphsfile{tecna}\clipmfpic
\setlength{\mfpicunit}{0.3cm} \clipmfpic

\fdef{funkce}{x}{exp(x)}
\fdef{primka}{x}{0.8*x+0.5}
\def\xsour{2}
\def\ysour{0.45464}

\pointsize=4pt
\tlabelsep{4pt}

\def\obrazek#1#2#3{
  
  \def\xsour{#1}%
  \def\ysour{#2}%
  \def\smernice{#3}%
\begin{center}
\begin{mfpic}[9][2.5]{-2}{2}{-0.5}{7}
  \axes {\drawcolor{blue} \penwd{2pt} \function{-2,2,0.1}{funkce(x)} }
  \drawcolor{black}
  \penwd{1pt}
  \function{-2,2,0.5}{0.61*(x-(-0.5))+0.61}
  
  \pointsize=4pt
  
  \drawcolor{red}
  \function{-2,2,0.1}{#3*(x+0.5)+0.61}
  \pointcolor{red}
  \point{(#1,#2)}
  \pointcolor{black}
  \point{(-0.5,0.61)}
  
  \drawcolor{black}
  \xmarks{-0.5}
  \ymarks{0.61}
  \xmarks{#1}
  \axislabels{x}[tc]{{$x_0$}-0.5}
  \axislabels{x}[bc]{{$x_0+h$}#1}
  \axislabels{y}[cl]{{$y_0$}0.61}
\end{mfpic}
\end{center}

\vfill
\newpage
}

\obrazek{1.6}{4.95}{2.07}
\obrazek{1.5}{4.48}{1.94}
\obrazek{1.4}{4.06}{1.82}
\obrazek{1.3}{3.67}{1.7}
\obrazek{1.2}{3.32}{1.6}
\obrazek{1.1}{3}{1.5}
\obrazek{1}{2.72}{1.41}
\obrazek{0.9}{2.46}{1.32}
\obrazek{0.8}{2.23}{1.25}
\obrazek{0.7}{2.01}{1.17}
\obrazek{0.6}{1.82}{1.11}
\obrazek{0.5}{1.65}{1.04}
\obrazek{0.4}{1.49}{0.98}
\obrazek{0.3}{1.35}{0.93}
\obrazek{0.2}{1.22}{0.88}
\obrazek{0.1}{1.11}{0.83}
\obrazek{0}{1}{0.79}
\obrazek{-0.1}{0.9}{0.75}
\obrazek{-0.15}{0.86}{0.73}
\obrazek{-0.2}{0.82}{0.71}
\obrazek{-0.25}{0.78}{0.69}
\obrazek{-0.3}{0.74}{0.67}
\obrazek{-0.35}{0.7}{0.65}
\obrazek{-0.4}{0.67}{0.64}
\obrazek{-0.45}{0.64}{0.62}
\closegraphsfile

\end{document}
