Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:9/8
K:G
['B3 BAB', 'Bee efe', 'G3 BGB', 'B2 a']  
X:1
L:1/8
M:9/8
K:G
 B3 BAB g2 e | B3 BAB dBA | B3 BAB g2 e | agf g2 e dBA :: Bee efe g2 e | Bee efe dBA | 
 Bee efe g2 e | agf g2 e dBA :: G3 BGB e2 d | G3 BGB dBA | G3 BGB e2 d | Bee ege dBA :: 
 B2 a ged e2 d | B2 a gfe dBA |1 B2 a ged e2 d | Bee ege dBA :|2 B3 BAB g2 e | agf g2 e dBA ||  