Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
M:4/4
K:D
['(3ABc d2 d>e d>A (3FGA B>cd>e d2', 'd2 c>B A>^GA>B (3ABc e>f g>ef>d d>cB>A']  
X:1
L:1/8
M:4/4
K:D
|: (3ABc | d2 d>e d>A (3FGA | B>cd>e d2 (3cBA | B>G (3GGG A>F (3FFF | E>FG>A G>AB>c | 
 d>cd>e f>dA>F | E>FG>A B>cd>e | f>dA>d (3cBA (3GFE | D2 (3ddd d2 :: c>B | A>^GA>B (3ABc e>f | 
 g>ef>d d>cB>A | B>GE>G A>FD>F | E>FG>A G>AB>c | d>AF>A G>EB>G | F>Ad>f e>Ac>f | 
 g>ba>g (3fed (3edc | d2 A2 D2 :|  