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/8=225
M:4/4
K:D
['Ad |:[M:4/4] fzg z', 'B2 A2', 'c4 c2 BB']  
X:1
L:1/8
Q:1/8=225
M:4/4
K:D
 Ad |:[M:4/4] fzg z f2 d2 | B2 d2 A2 dd | fzg z f2 d2 | B2 d2 A2 ee | ezf z e2 c2 | B2 A2 e2 ee | 
 ezf z e2 c2 |1[M:6/4] B2 A2 d4 dzAF :|2 B2 A2 d2 FG A2 GF |:[M:4/4] F4 F2 A2 | d2 e2 f2 z e | 
 f z b2 a4 | a2 f2 d2 ff | e2 d2 c4 | c2 BB A2 F2 |1 g2 e2 c4 | c2 BB A2 F2 | 
[M:6/4] e2 d2 A4 A3 G :|2[M:4/4] e2 c2 c4 | c2 BB AFAA |[M:6/4] BFBc d4 d2 dd |]  