GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
# This is the fourth example from the XGAP manual: # The Trefoil knot group: A finitely presented group. f := FreeGroup( "a", "b" ); k3 := f / [ f.1*f.2*f.1 / (f.2*f.1*f.2) ]; s := GraphicSubgroupLattice(k3);