Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
M:2/2
K:G
['DGGB d2', 'GA B2 BG c2 cA']  
X:1
L:1/8
M:2/2
K:G
 GF | DGGB d2 GB | d2 GF Gc (3AGF | DGGB d2 GB | dBcA F2 GF | DGGB d2 GF | DGGF G2 Ge | fgaf gbag | 
 fdcA G2 :| GA | B2 BG c2 cA | d2 GF G2 GA | B2 BG c2 cA | d2 DE F2 GA | B2 BG c2 cA | 
 d^cde f2 (3def | g2 gf gbag | fdcA G2 :|  