Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
Q:1/8=160
M:9/8
K:G
['B3 BAB c2', 'G e3 edc Bcd e2 A A2'  
X:1
L:1/8
Q:1/8=160
M:9/8
K:G
 B3 BAB c2 A | B3 dBG A2 G | B3 BAB c2 e | dBG G2 B A2 G :| e3 edc Bcd | e2 A A2 B c2 e | 
 def gfe def | g2 G G2 B A2 G :|  