Compose a tune that integrates the letter-based representation of the determined musical pattern and the given melodic idea.
X:1
L:1/4
M:2/2
K:G
['B d/B/ A B/A/']  
X:1
L:1/4
M:2/2
K:G
 D3/2 E/ D C | B, D G A | B d/B/ A B/A/ | G E E G | D3/2 E/ D C | B, D G A | B d/B/ A B/A/ |1 
 G2 G E :|2 G2 G A | B d d B | c e e d | B d/B/ A B/A/ | G E E G | B d d B | c e e3/2 f/ | 
 g/f/ e f d | e2 e f | g e f d | e d B A | B d/B/ A B/A/ | G E E G | D3/2 E/ D C | B, D G A | 
 B d/B/ A B/A/ | G2 G2 ||  