Compute the index of a subgroup in the above group G. The
generators for the subgroup are passed as the second argument,
and the relations of the group are passed in as the first.
Todd_Coxeter([x.x,y.y,(x.y)^^3],[x]) evaluates to
Result
Other help is available for maxima.