Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:D
['cdec A3 d cdec']  
X:1
L:1/8
M:4/4
K:D
 cdec A3 d | cdec AGEA | cdec ABAG | EG=cA BGEd | cdec A3 d | cdec AGEd | cdeg fdec | ABcA BdcB ||  