Create melodies that adhere to the provided musical framework and incorporate the given theme
X:1
L:1/8
M:2/4
K:G
['D GGGG GD D2 G2 A2 B2']  
X:1
L:1/8
M:2/4
K:G
 D | GGGG | GD D2 | G2 A2 | B2 GG | BBBB | BG G2 | AAAF | G3 |]  