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
['(3FG^G A>fd>A', 'D2 (3a^ga f>dA>F D>=cB>^A B>GD>G B2 (3B^AB']  
X:1
L:1/8
M:4/4
K:D
|: (3FG^G | A>fd>A F>dA>F | G>A_B>=B g2 e>B | c>ba>g f2 (3edc | d>^de>^e f2 (3FG^G | 
 A>fd>A F2 (3AGF | G2 (3^GAB =g>eB>d | c2 (3bag f2 (3edc | (3dAf (3dAF D2 :: (3a^ga | 
 f>dA>F D>=cB>^A | B>GD>G B2 (3B^AB | g>dB>G D>G (3Bcd | c>A (3Ace a2 (3a^ga | f>da>f d>A (3FED | 
 G>^GA>^A B>gB>=c | c2 (3bge (3cBA (3gec | (3dAf (3dAF D2 :|  