Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/16
M:2/4
K:Ador
['E2A2 ABcd e2d2', 'a2e2 e2fg abag'  
X:1
L:1/16
M:2/4
K:Ador
 E2A2 ABcd | e2d2 c2>A2 | B2G2 GFGA | B2AG E2D2 | E2A2 ABcd | e2d2 e2ag | e2d2 BedB | A4 A4 :| 
 a2e2 e2fg | abag e2fg | abaf g2>e2 | dedB G4 | a2e2 e2fg | abag e2d2 | B2e2 d2B2 | A4 A4 :|  