Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['d2 AG', 'fd d2']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
"^D modal" c | d2 AG FADF | Ec c2 Ec c2 | dBcA BGAG | FGEF Dgfe | d2 AG FADG | (3EFG AB c2 Bc | 
 (3dcB cA BGAG | FGEC D3 :| g | fd d2 fdge | fd d2 cdeg | fd d2 fdad | faeg fddg | fd d2 ad d2 | 
 ec c2 gc c2 | afge fded | ceag fdd :|  