Develop a musical composition centered around the provided motif while maintaining the appropriate form.
X:1
L:1/8
M:4/4
K:G
['AGAB d2 Bd efge dBGA BAGE']  
X:1
L:1/8
M:4/4
K:G
 E | G3 D EDEG | AGAB d2 Bd | efge dBGA | BAGE EDDE | GFGD EDED | AGAB d2 Bd | efge dBGA | 
 BAGE D3 :|  