Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['DG G2 DGBd g2 dg egdB', 'dggf gGBd gbaf']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 z E | DG G2 DGBd | g2 dg egdB | A2 GB AcBA | GBAF GFEF | DG G2 DGBd | g2 dg egdB | GABd gedc | 
 BcAF G2 :| Bc | dggf gGBd | gbaf gfed | eaag abag | ea a2 edBc | dggf gGBd | gbaf gedB | 
 GABd gedc | BcAF G2 :|  