# Subfigures with different heights

I have a subfigure with an image on the right side and text on the other side.

\begin{figure}[h]
\begin{subfigure}{.475\textwidth}
\centering
\caption{Image}
\end{subfigure}
\begin{subfigure}{.475\textwidth}
\centering
How are you? \\
Line 2\\
Line 3\\
\caption{Text}
\end{subfigure}
\caption{Caption for image and text}
\end{figure}


This produces an output like this:

How can I position the image in one line and the text at the top? The result should look like this: