Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:A
['f ecA', 'fga ecA EAc |1 dBB B2 B'  
X:1
L:1/8
M:6/8
K:A
 EAc e2 f | ecA a2 f | ecA EAc |1 dBB B2 B :|2 BAA A3 :: efe a2 g | bag fga | ecA EAc |1 
 dBB B2 B :|2 BAA A3 ||  