Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:3/8=120
M:6/8
K:A
['E ABc cdB', 'a agb bge'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:A
 E | ABc cdB | (BA)A A2 c | Bcd GAB | (BA)A A2 E | ABc cdB | BAA Ace | ecA GAB | (BA)A A2 :: a | 
 agb bge | (cd).e e2 a | agb bge | cde e2 a | aga aga | fdf agf | efe dcB | (BA)A A2 :|  