Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:3/4
K:D
['ef/f/ de/e/ (c{cd)}A/c/', 'f>e f>a (a{ba)}g e>c c>e'  
X:1
L:1/8
M:3/4
K:D
 ef/f/ de/e/ (c{cd)}A/c/ | ef/f/ de/e/ (c{cd)}A/c/ | ef/f/ de/e/ (c{cd)}A/c/ | e2 a4 :: 
[K:Dmin]{fgfe} f>e f>a (a{ba)}g | e>c c>e (g{ag)}e | f>e f>a (a{ba)}g | e>c c>e (g{ag)}^f | 
 de (=f{gf)}e A^c | ef d4 :|  