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=180
M:2/2
K:D
['B dABF A/A/A AB dABF E/E/E Ee', 'fdaf egfe']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:D
 B | dABF A/A/A AB | dABF E/E/E Ee | dABF Agfe | dBAF D/D/D D :: g | fdaf egfe | fdaf B/B/B Bg | 
 fdaf egfe | dBAF D/D/D D :|  