Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:9/8
K:G
['(d/c/) BB(c/d/) cBA (B/c/)dd (e/c/A) (c/B/ A)GG', 'G2 (B/c/) def gag (g/e/)dd (e/c/)AG Add'  
X:1
L:1/8
M:9/8
K:G
 (d/c/) | BB(c/d/) cBA (B/c/)dd | (e/c/A) (c/B/ A)GG G2 (d/c/) | BB(cd) cBA B/c/dd | 
 (e/c/A)(c/B/ A)GG G2 || (B/c/) | def gag (g/e/)dd | (e/c/)AG Add d2 (d/c/) | 
 B2 B(B/d/) cBA (B/c/)dd | (e/c/A)(c/B/ A)GG G2 ||  