Develop a musical composition centered around the provided motif while maintaining the appropriate form.
X:1
L:1/8
M:6/8
K:D
['f |:O{c} d2', 'E (DED) (TFEF)', '(TFEF) (TFEF)'  
X:1
L:1/8
M:6/8
K:D
 f |:O{c} d2 A- AFA | AFD Dfe |{c} d2 (A{B} A)GF | TE>FE Tc2 e |{c} d2 A- AFA | AFA AFD | 
 GBG FAF |1 (E>FE) Tc2 e :|2 (E>FE) TG2 E |: (DED) (TFEF) | (DED) TF2 E | (DED) (TFEF) | 
 (EFE) TG2 E | (DEF) (TFEF) | (TFEF) (TFEF) | (GBG) FAF |1 (EFE) TG2 E :|2 (EFE) AceO ||  