Craft a musical arrangement that integrates the provided motif and upholds the required musical structure.
X:1
L:1/8
Q:1/4=120
M:4/4
K:A
['E A2 c>A d<BAG Ace>e e2 c>e', 'z e e>dcd eagf e>dcd e2 a>a'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:A
"^Moderate" E | A2 c>A d<BAG | Ace>e e2 c>e | edBd dcAc | dBAG A2 z :| | e | e>dcd eagf | 
 e>dcd e2 a>a | a2 fa a g2 e | gfed eg/f/ e/d/c/B/ | A2 c>A dBAG | Ac e2 e2 c>e | edBd dcAc | 
 dBAG A2 ||  