Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
M:4/4
K:D
['(3FG^G A>fd>B A>^GA>^A B>ge>g B>B (3ed_d c>gB>g', '(3a^ga b>af>d A>dc>d e>dc>d B>Be>d c>gB>g A>A'  
X:1
L:1/8
M:4/4
K:D
|: (3FG^G | A>fd>B A>^GA>^A | B>ge>g B>B (3ed_d | c>gB>g A>A (3ABc | (3dfe (3dcB A>A (3FG^G | 
 A>fd>B A>^GA>^A | B>ge>g B>B (3ed_d | c>gB>g A>A (3ABc | d2 A2 d2 :: (3a^ga | b>af>d A>dc>d | 
 e>dc>d B>Be>d | c>gB>g A>A (3ABc | (3dfe (3dcB A2 (3a^ga | b>af>d A>dc>d | e>dc>d B>Be>d | 
 c>gB>g A>A (3ABc | d2 A2 d2 :|  