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:D
['AB c/B/A f2 f2', 'f2 f2']  
X:1
L:1/8
M:4/4
K:D
 AB c/B/A f2 f2 | AB c/B/A f2 f2 | gfed c2 Be | edcB A2 A2 | AB c/B/A f2 f2 | AB c/B/A f2 f2 | 
 gfed cA B/c/d | e/f/e d2 d4 :| a2 ba f2 f2 | ad'ba f2 f2 | gfed c2 B2 | edcB A2 A2 | a2 ba f2 f2 | 
 ad'ba f2 f2 | gfed cA B/c/d | e/f/e d2 d4 :|  