Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/4
Q:1/2=110
M:2/2
K:D
['A d']  
X:1
L:1/4
Q:1/2=110
M:2/2
K:D
"^A" A |"D" A d d d |"Em" e/d/c/d/"A" e g |"D" f d"Em" B e |"A" d2 c A |"D" A d d d | 
"Em" e/d/c/d/"A" e3/2 d/ |"F#m" c A"E7" B ^G |"A" A2- A d |"^B""A" c A A d |"A" c A A d | 
"A" c e"Em" g f |"A" f2 e d |"A" c A A d |"A" c A"D" a3/2 d/ |"A7" c d e c |"D" d2- d A | 
"^C""D" A d d f |"D" f2- f d |"A" c e e g |"A7" g2- g e |"D" f3/2 e/ d c |"G" d B"A" A G | 
"D" F d"A7" E c |"D" d2- d |]  