Compose melodies using the provided alphabetical pattern of the musical arrangement and the given motif.
X:1
L:1/8
M:4/4
K:D
['A,D D2', 'defd FB B2 BcdB |1 cdef ge', 'cdBA BdBA FAFD B,E E2 A,D D2']  
X:1
L:1/8
M:4/4
K:D
 A,D D2 DEFA | BdBA Bd d2 | A,D D2 BAGF | EFGA Bcde | A,D D2 DEFA | B2 dB A2 FA | fa a2 fedA |1 
 B2 BA BAFD :|2 BdBA BdBA || Be e2 efge | Ad d2 defd | FB B2 BcdB |1 cdef ge e2 :|2 
 (3Bcd ef gfeg || fedB dBAF | B,EGB e3 d | B2 BA (3Bcd eg | fddc cdBA | BdBA FAFD | 
 B,E E2 A,D D2 |1 B,EGB e2 ag :|2 B,EA,C D4 ||  