H.
then hit the TAB key to see what methods are available.
```
sage: G.<x, y> = FreeGroup()
sage: H = G.quotient([x*y])
sage: H.cartesian_product(H)
The Cartesian product of
(Finitely presented group < x, y | x*y >,
Finitely presented group < x, y | x*y >)
sage: H.direct_product(H)
Finitely presented group < a, b, c, d |
a*b, c*d, a^-1*c^-1*a*c, a^-1*d^-1*a*d,
b^-1*c^-1*b*c, b^-1*d^-1*b*d >
```