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:4/4
K:G
['.d2 .e^c .d2', "fdcA dg{a}gf{a} g{c'}bag fg{b}af{a} g3 f .d.e.f.g"]  
X:1
L:1/8
M:4/4
K:G
{c} BG{A}GF{A} G{c}B.A.F | D2{G} (3FED{B} AD{G}FE | DG{A}GF{A} G.A{c}.B.c |1 .d2 .e^c .d2 =cA :|2 
 .d2 .e^c .d2 B=c || dg{a}gf{a} g2{b} ag | f2 de{g} fdcA | dg{a}gf{a} g{c'}bag | fg{b}af{a} g3 f | 
 .d.e.f.g a3 g | f2 e .d.e.f.g | a2 ge (3fed e^c | .d2 .e.^c .d2 .=c.A :|  