Create harmonious melodies following the given letter notation and incorporating the designated theme.
X:1
L:1/8
M:2/4
K:G
['D2 E2 D2', 'B2 A2']  
X:1
L:1/8
M:2/4
K:G
|: D2 E2 D2 E2 | D2 GA B2 G2 | D2 E2 D2 E2 | D2 BA G4 :: BABc B2 A2 | AGAB A4 | dedc BABc |1 
 B2 A2 B4 :|2 B2 A2 G4 ||  