Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['z DEF', 'Bdef- fBde'  
X:1
L:1/8
M:4/4
K:D
|: z DEF A3 D | EFAF AB E2 | z DEF A2 BF | A3 d cA | z DEF A3 D | EFAF Ad c2 | z DEF AFAF | 
 E2 ED F B,3 :: Bdef- fBde | f2 Bd f e2 A | Bdef- fBde | fBBB BABd | Bdef- fBde | f2 fB defa | 
 bfff fefa | feee edcA :|  