Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:Bmin
['', 'c<A AA E<A', '=c2 (3efg a2'  
X:1
L:1/8
M:4/4
K:Bmin
 ed || c<A A2 E<A AB |{d} cBAB cded |{d} c<A AA E<A A=c | BAGB d2 ed | c<A AA E<A AB | 
 =cBAB ^cded |{d} c<A AA E<A A=c | BAGB d2 ed || =c2 ce g2 ge | =c2 (3efg a2 aB | =c2 ce g2 ge | 
 dBGB{AB} A2 AB | =c2 ce g2 ge | =c2 (3efg a2 g(a | b2){b} af g2 e2 | [dD]BGB{AB} A2 ed | 
 =c2 ec gcec | =c2 (3efg a2 aB | =c2 ec gc e2 | dBGB{AB} A2 AB | =c2 ec gcec | =c2 (3efg a2 ab | 
 afgf e2{f} e2 | dBGB{AB} A2 ed ||  