Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:Amix
['ceeg aeeg fddf gfed ceef/g/ aeeg fdf/g/a/f/', 'cAAc BGGB'  
X:1
L:1/8
M:4/4
K:Amix
|: ceeg aeeg | fddf gfed | ceef/g/ aeeg | fdf/g/a/f/ e2 d2 :: cAAc BGGB | cAAg aeed | cAAc BGGB | 
 cAAB c/d/d B2 :|  