Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
M:6/8
K:G
['A2 B', 'gfg dBd ede dBd gfg aga'  
X:1
L:1/8
M:6/8
K:G
 B3 BAB | G2 B A2 G | B3 BAG | A2 B c2 d | BcB BAB | GAG GBd | g2 e dBG | A2 B c2 d :: gfg dBd | 
 ede dBd | gfg aga | bgb afd | gfg dBd | ede dBd | gfg aga | bgf g2 d :|  