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:D
['AGFE D2 FD', 'd cdec']  
X:1
L:1/8
M:4/4
K:D
 B | AGFE D2 FD | GEFE DB B2 | AGFE D2 FD | E2 cA BGE :| d | cdec A3 d | cdec AFEd | cded A3 F | 
 E2 cA BGEd | cdec A3 d | cdec AFEd | cdeg f2 ec | ABcA Bdc |]  