Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:2/2
K:D
['A2 FA dA']  
X:1
L:1/8
M:2/2
K:D
 B |"D" A2 FA dA FD |"A7" GEFD CEEB |"D" A2 FA dA FA |"G" BG"A7"EA"D" FD DB |"D" A2 FA dA FD | 
"A7" GEFD CEEB |"D" A2 FA dA FA |"G" BG"A7"EA"D" FD D || g |"D" fedf abaf |"A" ge"D"fd"Em" eBBg | 
"D" fedf abaf | f/g/a"A7" e/f/g"D" fddg |"D" fedf abaf |"A" ge"D"fd"Em" eBBg | 
"D" fe"A/C#"ec"D" dA"Bm"BF |"Em" GB"A7"Eg"D" fdd |]  