Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/16
M:2/4
K:G
['D2DE G2GB A2GA BAGE D2c2 BcdB', 'B2d2 efge'  
X:1
L:1/16
M:2/4
K:G
 (GE) | D2DE G2GB | A2GA BAGE | D2c2 BcdB | G2>A2 BAGE | D2DE G2GB | A2GA BAGE | D2c2 BcdB | 
 G4 G2 :: A2 | B2d2 efge | d2B2 A2G2 | B2d2 efge | d2>B2 A2>A2 | B2d2 efge | d2>B2 A2GE | 
 DEGA BGAF | G4 G :|  