Create harmonious melodies following the given letter notation and incorporating the designated theme.
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
['(dc) B2 G2 GBAG FGAB c2 BA', "G2 (3def gdBd gbag afdf ac'ba bgaf"]  
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
 (dc) | B2 G2 GBAG | FGAB c2 BA | Bdef gdec | B2 G2 G2 :: (3def | gdBd gbag | afdf ac'ba | 
 bgaf geag | f2 d2 d2 (gf) | (ed)(cB) c2 (c'b) | agfe d2 cB | cdef gdec | B2 G2 G2 :|  