Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:D
['FAdd dAFD (3(gfe) cA bgec d2{e} dc']  
X:1
L:1/8
M:4/4
K:D
 (3(ABc) |"D" dAFA"G" BGEG |"D" (3(FED) FA dcBA |"A" Eeef"G" (3(gfe) fd |"A" ecAB AGFE | 
"D" FAdd dAFD |"A" Eeef"G" (3(gfe) cA |"D" dfaf"A" bgec |"D" d2{e} dc d2 :: (3(ABc) | 
"D" dfaf"G" bgec |"D" dfaf"A" gecA |"D" dfaf"A" (3(gfe) fd |"G" B2 BA BdAG |"D" FAdd dAFD | 
"A" Eeef"G" (3(gfe) cA |"D" dfaf"A" bgec |"D" d2{e} dc d2 :|  