Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
['f3 d2 B AdB', 'fed fed cAB =c2 d']  
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
|: d/e/ | f3 d2 B | AdB AFD | FBB Bcd | cBc BAF | f3 d2 B | AdB BAF | FBB Bcd | cBc B2 :: A | 
 fed fed | cAB =c2 d | =cAB cAG | FDF Ade | fed fed | cAB =c2 d | =cAG FGA | FDD D2 :|  