Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
['AG AB']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
|: D | G2 GB AG AB | G/G/G Bd e3 g | dB BG AG AB | GE ED GD B,D | G2 GB AG AB | G/G/G Bd e3 g | 
 dB BG AG AB | GE ED GD B,D | dB BG AG AB | dB Bd e3 g | dB BG AG AB | GE ED G3 e | dB BG AG AB | 
 dB Bd e3 g | dB BG AG AB | GE ED GD B,D :|  