Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
Q:3/8=128
M:6/8
K:G
['(D G)AB AGE', 'B def{a} gfg afd edB gfg edB'  
X:1
L:1/8
Q:3/8=128
M:6/8
K:G
 (D | G)AB AGE | DEG GBd | efg dBG |{c} BAA A2 (D | G)AB AGE | DGE GBd | efg dBA | BGG G2 :| B | 
 def{a} gfg | afd edB | gfg edB |{c} BAA A2 (D | G)AB AGE | DEG GBd | efg dBA | BGG G2 :|  