[Tex/LaTex] How to insert three images in one slide

beamergraphicspresentations

I am having a problem with inserting three images to one slide
There is one similar question How to put 3 figures in one slide in beamer?
However, this one is when one wants to put text there.

What I need is to insert three images one on top and two down with captions

I tried

\documentclass{beamer}
    \begin{document}
    \begin{frame}
    \centering
        \caption {example1}
        \includegraphics[width=5cm, height=4cm]{example-image-a}
               \vspace{0.01em}
        \caption {example2}
        \includegraphics[width=5cm, height=4cm]{example-image-b}
        \caption {example3}
         \includegraphics[width=5cm, height=4cm]{example-image-c}
    \end{frame}
    \end{document}

is there any other way to do it?

Best Answer

So, what's the problem?

slide 5cm

\documentclass{beamer}
\begin{document}
\begin{frame}
  \hfil\hfil\includegraphics[width=5cm]{example-image-a}\newline
  \null\hfil\hfil\makebox[5cm]{example1}\newline
  \vfil
  \hfil\hfil\includegraphics[width=5cm]{example-image-b}\hfil\hfil
    \includegraphics[width=5cm]{example-image-c}\newline
  \null\hfil\hfil\makebox[5cm]{example2}
    \hfil\hfil\makebox[5cm]{example3}
\end{frame}
\end{document}