I am wondering if there is a good method to write down a finite equational basis for a finite group. Especially I am wondering if there is a good method in following situations:
We can write a group as a direct or semidirect product of two groups which finite basis we already know how to write, is there any relationship between the identities of the factors and the big group?
Can we do it if we have a given finite presentation (generators and relations)
Group is small, in this case I am wondering if something like gap, magma or sage has a good way of dealing with this problem? I tried looking it up but I didn't find anything and I am not really good at these languages.