Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
Q:1/4=130
M:2/4
K:C
['EE A>G AB cB AB', 'AB c2 ed B2 dc'  
X:1
L:1/8
Q:1/4=130
M:2/4
K:C
 EE | A>G AB | cB AB | A z :| AB | c2 ed | B2 dc | A>G AB | cB AB | c2 ed | B2 dc | AG/A/ BG | 
 A z ||  