Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:3/8=100
M:9/8
K:G
['Bdg- gdB gdB', 'G Bcd- dBG AFD EFG ABc B2'  
X:1
L:1/8
Q:3/8=100
M:9/8
K:G
 Bdg- gdB gdB | cea aeg f2 d | Bdg- gdB gdB | (B/c/d)B (e/f/g)e A2 G :: Bcd- dBG AFD | 
 EFG ABc B2 G | gdB ecA dBG | (B/c/d)B (e/f/g)e A2 G :|  