Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:D
['E2 E']  
X:1
L:1/8
M:6/8
K:D
 D | E2 E F2 A | B2 B E2 E | A2 A F2 E | D3- D2 F | E2 E(EF) A | B3 (AB) d | B2 B A2 F | E3- E2 ||  