Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:4/4
K:G
['A2 BA', 'GABd edge']  
X:1
L:1/8
M:4/4
K:G
 E | DGBG A2 BA | GE E2 cEGE | DGBG A2 BA | GEED EFGA | B3 d A2 BA | GE E2 cEGE | DGBG A2 BA | 
 GEED EFG |] A | GABd edge | dB B2 dBAB | GABd edge | dBAB G3 A | GABd edge | dB B2 dega | 
 bggb ageg | dBAB G3 |]  