Subset Product of Subgroups/Necessary Condition/Proof 1

Proof
Suppose $H \circ K$ is a subgroup of $G$.

Let $h \circ k \in H \circ K$.

Then $h \circ k$ is the inverse of some element $g$ of $H \circ K$.

Thus we can write $g = h' \circ k'$ for some $h' \in H$ and $k' \in K$.

So:

So by definition of subset:
 * $H \circ K \subseteq K \circ H$

Now suppose $x \in K \circ H$.

Then:

So by definition of subset:
 * $K \circ H \subseteq H \circ K$

The result follows by definition of set equality.