\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{tikzpicture}[font=\small]
\draw (0,0) node[nmos](n){}; \node[right] at (n.east) {$M_1$};
\draw (n.G) -- ++(-0.9,0) node[ocirc]{} node[left]{$V_\mathrm{in}$};
\draw (n.D) -- ++(0,0.3) node[circ]{} coordinate(o) to[R, l=$R_\mathrm{D}$] ++(0,1.4) -- ++(0.8,0) -- ++(0,-0.1) node[ground]{};
\draw (o) -- ++(1.1,0) node[ocirc]{} node[right]{$V_\mathrm{out}$};
\draw (0,-2.0) node[nmos, yscale=-1](q){}; \node[right] at (q.east) {$M_2$}; \draw (n.S) -- (q.S) coordinate[pos=0.5](s2);
\draw (q.D) node[ground]{}; \draw (q.G) -- ++(-0.6,0) -- ++(0,-0.5) node[ground]{};
\draw[gaaccent, ->] ([shift={(1.2,0.2)}]s2) -- ([shift={(0.2,0.2)}]s2) -- ([shift={(0.2,-0.15)}]s2);
\node[gaaccent, right, font=\footnotesize] at ([shift={(1.2,0.2)}]s2) {$\frac{1}{g_\mathrm{m2}}$};
\end{tikzpicture}
\end{document}
