Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['z DEF', 'Bdef- fBde f2'  
X:1
L:1/8
M:4/4
K:D
|: z DEF A3 D | EFAF AB E2 | z DEF A2 BF | Adc A3 z2 | z DEF A3 D | EFAF Ad c2 | z DEF AFAB | 
 .E2 z2 z4 :: Bdef- fBde | f2 Bd f e2 A | Bdef- fBde | f2 B2 B .A2 z | Bdef- fBde | f2 fB defa | 
 bff(f f)efa | fee(e e)dcA :|  