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
['(3def gG G2 EGDC B,G, B,D GB', 'G2 GA BGBd edBd g2 bg egdB']  
X:1
L:1/8
M:4/4
K:G
 (3def | gG G2 EGDC | B,G, B,D GB dg | e2 ce d2 Bd | (3cBA BG A2 (3def | gG G2 EGDC | 
 B,G, B,D GB dg | ecAG FAdc | B2 GF G2 :: GA | BGBd edBd | g2 bg egdB | c2 ge dGBd | cBA^G A2 dc | 
 BGDC B,DG=F | E2 CE DGBd | gfge dBcA | B2 GF G2 :|  