Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:2/2
K:A
['A4 E2'  
X:1
L:1/8
M:2/2
K:A
"^APB Martin Hayes""A" A4 A4 |"A" A>Bc>A"D" F2"A" E2 |"A" c4 c4 |"A" c>de>c"E" B4 |"A" c>de>c A4 | 
"A" A>Bc>A"D" F2"A" E2 |"A" E>FA>B c>ee>c |"E" B2 A2"A" A4 ::"A" c>de>c A4 | 
"A" A>Bc>A"D" F2"A" E2 |"A" E>FA>B c>ee>c |"A" c2 B2"E" B4 |"A" c>de>c A4 |"A" A>Bc>A"D" F2"A" E2 | 
"A" E>FA>B c>ee>c |"E" B2 A2"A" A4 :|  