Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/8=120
M:4/4
K:D
['a2 f/g/a/b/{f} e2 dA (3ded (3efe f3', 'd4 a2 fAdf e/d/e/f/ ea fAdf e3'  
X:1
L:1/8
Q:1/8=120
M:4/4
K:D
 a2 f/g/a/b/{f} e2 dA | (3ded (3efe f3 g/a/ | bbba/g/ aaag/f/ | gggf/e/ fffe | 
 d/e/f/g/ ag/f/ b z g z | a z A z d4 :: a2 | fAdf e/d/e/f/ ea | fAdf e3 a | a8 | a6 a2 | 
 (ba)(ag) (gf)fg | (ag)(gf) (fe) e2 | d/e/f/g/ ag/f/ b z g z | a z A z d2 :|  