Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:4/4
K:Amix
['ed cAAG Aced', 'd2 ed'  
X:1
L:1/8
M:4/4
K:Amix
 ed | cAAG Aced | cAAG E2 ed | cAAG Aced | BAGB d2 :| ed | cdef gfed | cdef e3 d | cdef gfge | 
 dBGB d2 ed | cded cded | cA A2 cdef | gfge dfed | BAGB d2 |]  