Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
Q:1/2=96
M:4/4
K:D
['FG A3 d', 'D2 A>B c3 d cdcd e2 c2']  
X:1
L:1/8
Q:1/2=96
M:4/4
K:D
 FG | A3 d ABAG | F3 D D3 F | GFGA BABc | dcBA G2 FG | A3 d BAGF | G3 A g3 e | dBAF GBAG | 
 F2 D2 D2 :: A>B | c3 d cdcd | e2 c2 c2 A2 | dcde fefg | agfe d2 FG | A3 d BAGF | G3 A g3 e | 
 dAGF GBAG | F2 D2 D2 :|  