Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:2/4
K:D
['dd ee', 'aa ff gg e2'  
X:1
L:1/8
M:2/4
K:D
 A | dd ee | d/c/B/A/ AB/c/ | dd ee | f2 eA | dd ee | d/c/B/A/ AB/c/ | dd e/d/e/f/ | d2 z :: f/g/ | 
 aa ff | gg e2 | fd Bd | d/c/e/c/ Af/g/ | aa ff | gg e2 | f/d/B/e/ dc | d2 z :|  