Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:2/4
K:A
['ec e2']  
X:1
L:1/8
M:2/4
K:A
|:"A" ec e2 | ec e2 |"D" fe dc |"E7" Bc dc/d/ |"A" eA AA | A/B/c/d/ e2 |"E7" eB Bd | 
"^(A)" cB"A" A2 :|  