\documentclass{book}
\usepackage[margin=1in]{geometry}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, patterns, patterns.meta}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.pathreplacing,decorations.markings}
\begin{document}
$$\begin{tikzpicture}
\draw [thick] (3,0) -- (0,0) -- (0,3);
\draw [thick, latex reversed-] (0,3)--(0,5)--(3,5);
\draw [thick, latex reversed-] (3,5) -- (6,5) -- (6,3);
\draw [thick, latex reversed-latex reversed] (6,3) -- (6,0) -- (3,0);
%\draw [dashed] (0,2.5) -- (6,2.5) node [above, pos=.5] {c};
\node [draw=none, anchor=east] at (0,2.5) {};
\node [draw=none, anchor=west] at (6,2.5) {};
\node [draw=none, anchor=east] at (0,3) {b};
\node [draw=none, anchor=west] at (6,3) {b};
\node [draw=none, anchor=east] at (0,0) {};
\node [draw=none, anchor=east] at (0,5) {};
\node [draw=none, anchor=west] at (6,0) {};
\node [draw=none, anchor=west] at (6,5) {};
\node [draw=none, anchor=south] at (3,5) {};
\node [draw=none, anchor=north] at (3,0) {};
\end{tikzpicture}$$
\end{document}
我不知道如何绘制垂直矩形而不是水平矩形,以及如何使其尺寸更小,3x2 厘米见方?有人可以帮我实现这个吗?