Construct a musical composition using the provided motif and maintain the designated form.
X:1
L:1/8
M:9/8
K:G
['BdB BAB', 'fdd def'  
X:1
L:1/8
M:9/8
K:G
 BdB BAB g3 | BdB B2 e dBA | BdB BAB g2 e | faf efe dBA :: fdd def g3 | fdd dcd ecA | 
 fdd def g2 e | fed edB efg :|  