Triangles ABC, ECD, and DFG are congruent. The perimeter of triangle $ABC$ is $42,$ with $AB = 11$ and $FG = 4.$ Find $AB.$