Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/8
Q:1/4=80
M:2/4
K:D
['A d2 cB A2 Bc/d/', 'D3 A FDFA d2 Bc/d/ cAB^G A2']  
X:1
L:1/8
Q:1/4=80
M:2/4
K:D
 A | d2 cB | A2 Bc/d/ | FFGE | D3 :| A | FDFA | d2 Bc/d/ | cAB^G | A2 B | c | d2 cB | A2 Bc/d/ | 
 FFGE | D3 |]  