Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:6/8
K:G
['B B2']  
X:1
L:1/8
M:6/8
K:G
 D | G2 B B2 B | B2 ddcB | A3 z2 G | G2 B B2 B | B2 ddcB | A2 A A2 A | A>Bcedc | B2 B d2 d | 
 G3 z2 |]  