Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['B2 B2']  
X:1
L:1/8
M:4/4
K:A
 CE | A3 E B3 E | c2 A2 c3 B | B2 B2 B2 c^d | e4 z2 EG | B3 E d3 c | B2 B2 f3 e | eace A2 BA | 
 A4 z2 |]  