Produce melodies following the designated musical arrangement and the given motif.
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
['D4 F2A2 dcde defg', 'fg abag fgfe d2d2'  
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
 AF | D4 F2A2 | dcde defg | a2f2d2f2 | edef e2f2 | D4 F2A2 | dcde defg | a2f2 def^g | a4 z2 :: cd | 
 e2ee e2f2 | e4 z2 de | f2ff f2g2 | f4 z2 fg | abag fgfe | d2d2 A2 fg | abag fgfe | d2d2 A2>B2 | 
 A2F2 D2>B2 | A2F2 D2 fg | afde f2fg | afed f2fg | abag f2e2 | d4 z2 :|  