Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Ddor
['D2 AG EG G2', 'EDDC EGAB c3 A d2 de f2'  
X:1
L:1/8
M:4/4
K:Ddor
 D2 AG EG G2 | AcGc cAGE | D2 AG EG G2 | AcGE EDDC :| EGAB c3 A | d2 de f2 ed | cAGE FEFG | 
 AcGE EDDC | EGAB c3 A | d2 de f2 ed | cAGE FEFG | AddB cAGE |]  