Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:2/2
K:D
['(AB/c/ d)d', 'AGFG AGFE DEFG ABAG FDEF', 'eded edBd']  
X:1
L:1/8
M:2/2
K:D
"^A" D | d2 dd (ef)fd | edfd edBd | (AB/c/ d)d fdfd | ed(Bc) d2 dB | (AB/c/ d)d fd d2 | edBd AdBd | 
 A2 (AB) d2 dB | AGF>D D3 :|"^B" D | D2 FF AFAF | AGFG AGFE | DEFG ABAG | FDEF D3 (F/E/ | 
 D)EFF AGFG | AGFG AGFE | DEFG ABAG | FDEF D2 ||"^A part variation" (3(ABc | d2) d2 (ef)fd | 
 eded edBd | (AB)cd fdfd | ed(Bc) d3 (d/B/ | (3A/B/c/ d2) ([d-e][df])[df][df] | eded edBd | 
 (AB/c/d)A BdAG | [FA]D(EF) D2 ||  