Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
M:6/8
K:D
['A d2 f e2 A B2 d', 'a aaa a2 a']  
X:1
L:1/8
M:6/8
K:D
 A | d2 f e2 A | B2 d c2 F | GFG EAG | FDD D2 :: A | d2 d d2 d | =cBA BGB | e2 e e2 e | dcB cAd | 
 fef def | gfg efg | agf agf | eee e2 a | aaa a2 a | aaa a2 a | afd Bec | ddd d2 :|  