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:C
['EFA BAF', 'd dBd efe dBd e2 d/e/ fed'  
X:1
L:1/8
M:4/4
K:C
 be | ^c |[M:6/8][K:Emin][Q:1/8=160] .D | EFA BAF | dAF AFD | EFA BAF | FEE E2 D | EFA BAF | 
 dAF AFD | dfe dAF | FEE E2 :| d | dBd efe | dBd e2 d/e/ | fed dcB | ABd FED | EFA BAF | dAF AFD | 
 dfe dAF | FEE E2 :|  