Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/4
Q:1/4=104
M:6/4
K:D
['F F D', 'F D', 'f f d', 'F D']  
X:1
L:1/4
Q:1/4=104
M:6/4
K:D
"^Moderato" A/G/ | F F D G G E | F F D E D D | F F D G E A/>G/ | E D D D2 :: (A/B/) | 
 =c c A B B G | A3/2 B/ A/G/ F D D | =c c A B B G | A3/2 B/ A/G/ F2 (A/B/4c/4) | 
 d d/e/f/d/ =c A F | G G/B/A/G/ F D D | F F D G E A/>G/ | E D D D2 :: d/e/ | f f d g g e | 
 f f d e d d | f f d g e a/g/ | e d d d2 :: (A/B/) | =c c A B B G | A3/2 B/ A/G/ F D D | 
 =c c A B B G | A3/2 B/ A/G/ F2 (A/B/4c/4) | d d/e/f/d/ =c A F | G G/B/A/G/ F D D | 
 F F D G E A/>G/ | E D D D2 :|  