Generate harmonious tunes by incorporating the specified letter-based framework and the presented motif.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['G2 GB', 'b2 gb a2 fa']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 D | G2 GB dBGB | dBeB dBAB | G2 GB d2 Bd | (3efg dB AcBA | G2 GB dBGB | dBeB dBAB | G2 GB dBGB | 
 (3efg dB A2 || ga | b2 gb a2 fa | g2 eg fd B2 | b2 gb a2 fa | gfef d2 ga | bagb agfa | gfeg dega | 
 bgaf gfed | (3efg dB AcBA |"^final" G8 |]  