Let $A$ be a non-perfect group such that it is semidirect product of $G$ and $H$ where $G$ is a finite group and $H$ is a free group of finite rank. My question is can $G$ be a perfect group? If not can we prove that? Any comments suggestions regarding this question is highly appreciated. Thanks in advance.