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:12/8
K:G
['B2 A', 'efg aba']  
X:1
L:1/8
M:12/8
K:G
 G2 A ABd e2 d d2 B | AGA B2 A G2 D D3 | B2 A ABd e2 d d2 B |1 AGA B2 A G3 G2 A :|2 
 AGA B2 A G3 G2 B |: d2 g gfg age dBd | e2 a aba g2 a bge | d2 g gfg age dBd |1 efg aba g3 gfe :|2 
 efg aba g2 A B2 A ||  