Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:9/8
K:G
['cAF G>AG', 'DB,A, A,B,D'  
X:1
L:1/8
M:9/8
K:G
 D | G>AG Bdd cAF | G>AG BdB cAF | G>AG ABB E>FG |1 EFE AGF G2 :|2 EDE AGF G2 B |: 
[K:Edor] A>GE EDE GAB | d>BA ABd e2 g | B>AG BGE E>DE |1 DB,A, A,B,D E2 B :|2 DB,A, A,B,D E2 ||  