Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:2/4
K:G
['e3/2 g/ e']  
X:1
L:1/8
M:2/4
K:G
 e3/2 g/ e A | g e d B | e d g B | A G E2 | B A B d | A E G2 | e3/2 g/ e B | d4 |]  