[Tex/LaTex] putting logo on same line but after title, latex

diagramslogostitles

I read all similar questions and their answers. But as total beginner they are not helping. Hope you can.

\documentclass[10pt]{article}

\usepackage[top=1in, bottom=1in]{geometry}
\usepackage{amsfonts}
\usepackage{graphicx}

\title{test}
\date{}

\begin{document}
\maketitle
\includegraphics[width=1.5in]{logo2.jpg}

Best Answer

Quick hack: place two minipages besides each other

\documentclass[10pt]{article}

\usepackage[top=1in, bottom=1in]{geometry}
\usepackage{amsfonts}
\usepackage{graphicx}

\title{test}
\date{}

\begin{document}

\begin{minipage}{.5\textwidth}
\maketitle
\end{minipage}
\begin{minipage}{.3\textwidth}
\includegraphics[width=1.5in]{example-image-duck}
\end{minipage}

\end{document}

enter image description here