Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/4
K:A
['E AA/G/AB =cA B2 cc/A/ B2 e2']  
X:1
L:1/8
M:2/4
K:A
 E | AA/G/AB | =cA B2 | cc/A/ B2 | e2 z E | AA/G/AB | =cA B2 | cc/A/ B2 | e2 z e | BB/A/GA | 
 BB/=c/Be | d/=c/B/A/GA/A/ | B/A/B/=c/BA/B/ | =cc/c/dd | e2 dd | =cABB/c/ | A3 |]  