Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:C
['D2 ADFD defd BABc dBBA', 'fefg afdf gfed cdef', 'd3 e'  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:D] f e A!p! a dffee ea (ue4 f) e C!p! a ec[Q:1/8=180] .D2 D2 ADFD | defd BABc | 
 dBBA dBBA | fade fe e2 | D2 D2 ADFD | defd BABc | dBBA FAdB | AFGE FD D2 :| ABde fefg | 
 afdf gfed | cdef gebe | gebe gfef | dcde fefg | afdf gfed | cdef gbag | fdec d3 || e | fdec d3 e | 
 fded Be e2 | dBBA dBBA | FADE FE E2 | dfec d3 e | fded Be e2 | dBAB d3 e | faeg fd d2 ||  