Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:2/2
K:D
['Acdd fdfd cdef', 'fdfd Acde gefg abag fdfd egec d3', 'fgfg/f/ edcB Acef gage f2 fg/f/ egec'  
X:1
L:1/8
M:2/2
K:D
 Acdd fdfd | cdef gfgB | Aceg fdfd | efec d2 d2 | Acdd fdfd | cdef gf g2 | Aceg fdfd |1,2 
 egec d2 d2 :|3 egec d3 |: a | a2 ag fdfd | Acde gefg | abag fdfd | egec d3 :: f | gage fgfg/f/ | 
 edcB Acef | gage f2 fg/f/ | egec d3 :|  