Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:6/8
K:D
['f ecA', 'd2 f'  
X:1
L:1/8
M:6/8
K:D
 f | ecA def | ece B2 f | ecA edc | BcB d2 f | ecA def | ecA c2 f | fgf edc | BcB d2 :| f | 
 ecA ecA | ecA d2 f | ecB ecB | BcB d2 f | ecA ecA | dcA c2 f | fgf edc | BcB d2 :|  