Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:6/8
K:D
['DED DED', 'ABA ABA', 'DED AFD DED B3 ABc', 'ABA ecA ABA', 'D2 d', 'A2 a'  
X:1
L:1/8
M:6/8
K:D
 DED DED | DED B3 | ABc def | ged cBA | DED dFD | AFD B3 | ABc dcB | ABG FED :: ABA ABA | ABA f3 | 
 ef^g agf | efd cBA | ABA acA | ecA B3 | ABc dcB | ABG FED :: DED AFD | DED B3 | ABc def | 
 efd cBA | DED AFD | DED B3 | ABc dcB | ABG FED :: ABA ecA | ABA f3 | ef^g agf | efd cBA | 
 ABA ecA | ABA B3 | ABc dcB | ABG FED :: D2 d D2 d | D2 d B3 | ABc def | efd cBA | d3 B3 | AFD B3 | 
 ABc dcB | ABG FED :: A2 a A2 a | A2 a f3 | ef^g agf | efd cdB | a3 f3 | ecA B3 | ABc dcB | 
 ABG FED :|  