Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
M:4/4
K:A
['A2 cA B2 dB']  
X:1
L:1/8
M:4/4
K:A
"^A""A" A2 cA B2 dB |"A" c2 eA BAGB | A2 cA B2 dB |"D" cBAc"E7" BAGB |"A" A2 cA B2 dB | 
 c2 eA BAGA |"D" dcBc BABG |"E7" EGBG"A" A2 z2 :|"^B""A" A2 Ac eAce |"D" fedc"E7" BAGA | 
"F#m" cAF F2 GAG |"B7" A2 cA"E7" BAGB |"F#m" A2 Ac eAce |"D" fedc"E7" BAGA |"F#m" cAF F2 GBG | 
"E7" EGBG"A" A2 z2 |"F#m" A2 Ac eAce |"D" fedc"E7" BAGA |"F#m" cAF F2 GAG |"B7" A2 cA"E7" BAGB | 
"A" A2 cA B2 dB | c2 eA BAGA |"D" dcBc BABG |"E7" EGBG"A" A2 z2 :|  