Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
Q:1/8=130
M:3/4
K:D
['d2 c2 d2', 'd2 fd f2 ed cd e2']  
X:1
L:1/8
Q:1/8=130
M:3/4
K:D
 d2 c2 d2 | e>d cd e2 | (f2 g)f ed | cd fd A2 | d2 c2 d2 | ed cd e2- | ef gf ed | ce d2 z2 :: 
 d2 fd f2 | ed cd e2 | ed ef g2 | fe fg a2 | d2 fd f2 | ed cd e2 | ef ge fd | ec d2 z2 :|  