Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:G
['G2 DC', 'BGG B egfg ebge dafd AFAd egfg']  
X:1
L:1/8
M:4/4
K:G
|: F | G2 DC B,DG,B, | DGBd eAAB | G2 DC B,DGg | dBcA BGGF | G2 DC (3B,CD G,B, | DGBd eAAB | 
 G2 DC B,DGg | dBcA BGG :: B | egfg ebge | dafd AFAd | egfg efga | bagf gfe^d | ebge BGE^c | 
 dafd AFDF | G2 DC B,DGg | dBcA BGG :|  