\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\node[right] at (-0.6,3.0) {$V_x<0$:};
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.4) to[short, i=$I_x$] (1.4,2.4) -- (2.6,2.4) to[R, l=$R_1$] (2.6,1.2) to[battery1, l=$V_\mathrm{B}$] (2.6,0) -- (0,0);
\draw (1.4,2.4) -- (1.4,1.5) node[ocirc]{}; \draw (1.4,0.9) node[ocirc]{} -- (1.4,0);
\begin{scope}[xshift=5.4cm]
\node[right] at (-0.6,3.0) {$V_x>0$:};
\draw (0,0) to[american voltage source, l=$V_x$, invert] (0,2.4) to[short, i=$I_x$] (1.4,2.4) -- (2.6,2.4) -- (2.6,1.9);
\draw (2.25,0.5) rectangle (2.95,1.9); \node[font=\scriptsize, align=center] at (2.6,1.2) {some-\\thing};
\draw (2.6,0.5) -- (2.6,0) -- (0,0);
\draw (1.4,2.4) -- (1.4,1.5) node[ocirc]{} -- (1.4,0.9) node[ocirc]{} -- (1.4,0);
\end{scope}
\end{circuitikz}
\end{document}
