Develop tuneful melodies adhering to the specified letter notation and including the supplied thematic aspect.
X:1
L:1/8
M:4/4
K:G
['', '(3def g2 d>c B>A G2 A>G F>A', 'd>B G>B']  
X:1
L:1/8
M:4/4
K:G
 (3def |: g2 d>c B>A G2 | A>G F>A G4 | D>E F>G A>B c>d | B>A G>B A2 (3def | g2 d>c B>A G2 | 
 A>G F>A G4 | D>E F>G A>B c>d |1 B>G A>F G2 (3def :|2 B>G A>F G2 B>c || d>B G>B d>B e>B | 
 d>B G>B d2 B>c | d>B G>B d>B A>G | F>G A>B c2 B>c | d>B G>B d>B e>B | d>B G>B d2 e>f | 
 g>f e>d c>B A>G | F>G A>B c>d e>f :| g4 ||  