Compose a musical piece based on the given motif and alphabet representation.
X:1
L:1/8
M:4/4
K:G
['B2 AG EGDG', 'BGAG EGDG', 'G2 Bd', 'gedc G2 (3Bcd eddg edBG AGEG Bd']  
X:1
L:1/8
M:4/4
K:G
 B2 AG EGDG | EAAG ABGA | B2 AG EGDG | EG G2 EG G2 :| BGAG EGDG | EAAG (3ABA GA | BGAG EGDG | 
 EG (3GGG EGG :| G2 Bd egdB | GBdB cA A2 | G2 Bd edBc | d2 Ac B2 AB | G2 (3Bcd eddg | edBG AGEF | 
 G2 Bd eddg | edBG (3ABA GE | G2 Bd gedB | GBdB cA A2 | G2 Bd edef | g3 a gedc || G2 (3Bcd eddg | 
 edBG AGEG | Bd d2 eg g2 | agbg aged ||  