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:2/4
K:E
['B,, z', 'B,,C, [M:5/8] C,C,C,/ z/ F,F, ||[M:2/4]', 'E,/C,/B,,/C,/ B,,2 B,,B,, B,,4 B,,2']  
X:1
L:1/8
M:2/4
K:E
 B,A,/G,/ F,2 | E,C,/B,,/ B,, z | F,F,/F,/ E,2 | F,E,/E,/ B,, z | E,C,/B,,/ B,,C, || 
[M:5/8] C,C,C,/ z/ F,F, ||[M:2/4] E,2 E,/C,/B,,/C,/ | B,,2 B,,B,, | B,,4 | B,,2 z2 |]  