Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:G
['D2 G3 B(BA)(GF) G2 G4 A2 B3']  
X:1
L:1/8
M:4/4
K:G
 D2 | G3 B(BA)(GF) | G2 G4 A2 | B3 d(dc) BA | B2 B6 | d4 d4 | d6 c2 | B2 GG D2 D2 | G6 ||  