Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/2
K:D
['A4 BABc dcBA GFED', 'D4 fdcB ^ABAB ecBA ^GAGA defe dcBA'  
X:1
L:1/8
M:2/2
K:D
 A4 BABc | dcBA GFED | GABA GFED | CDEF E4 | A4 BABc | dcBA GFED | GBAG FEDC | D2 D2 D4 :: 
 fdcB ^ABAB | ecBA ^GAGA | defe dcBA | ^GABA E4 | AEAc BEBd | cAce d3 c | def^g aecA | BABc A4 :|  