Craft melodious tunes in accordance with the outlined letter representation and the provided thematic element.
X:1
L:1/8
M:4/4
K:C
['(3(ABc) dAFA dfaf gfef', 'D2 (FG) AFdA fdAF GABG E3 f']  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:D] .abc (3(ABc) | dAFA dfaf | gfef d2 A2 | BdAd GdFd | FEED E2 (3(ABc) | dAFA dfaf | 
 gfef dcBA | BcdB AGFE | D2 D2 D2 :: (FG) | AFdA fdAF | GABG E3 f | gfed cdef | edcB A3 A | 
 (3(ded) Ad (3(fgf) df | (3(aba) fd A2 f2 | gfed cABc | d2 d2 d2 :|  