In your question, you mention that G is the midpoint of AB and DE, but you haven't provided the lengths of DE or any other information that relates to AB.
To determine the length of AB, we would need either the length of DE or additional relationships between the lengths of AB and DE.
If you have more context or measurements, please provide them, and I'd be happy to help you find the length of AB!