Shape musical compositions using the outlined form and integrating the provided motif.
X:1
L:1/8
M:4/4
K:Amix
['g2 eg', 'd4 fdgd'  
X:1
L:1/8
M:4/4
K:Amix
|: a2 ea g2 eg | f2 df gfed | cdec A2 ed | cdec g2 eg | a2 ea g2 eg | f2 df gfed | cdec g2 ed | 
 c2 A2 A2 ce :: d4 fdgd | d4 fdgd | cdec A2 BA | cdec aecA | d4 fdgd | d4 fded | cAce afed | 
 c2 A2 A2 ce :|  