Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
['A2 A2 F2 GA B2 B2 A4', 'd4 f2 gf e2 dc d2 e2']  
X:1
L:1/8
Q:1/2=100
M:2/2
K:D
 A2 A2 F2 GA | B2 B2 A4 | Bcde c2 de | f2 e2 d4 :: f2 gf e2 dc | d2 e2 c2 (BA) | Bcde cdef | 
 defg e4 | A2 A2 F2 GA | B2 B2 A4 | Bcde c2 de | f2 e2 d4 :|  