Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:2/4
K:G
['E3/2 F/ ED EF']  
X:1
L:1/8
M:2/4
K:G
 G/G/ GA B | GB AD | GG AB | G2 FD | GG AB | cB AG | FD EF | G2 G2 | E3/2 F/ ED | EF G2 | 
 D3/2 E/ DC | B,2 D2 | E3/2 F/ ED | EF GE | DG FA | G2 G z |]  