Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:G
['Te2 dc B2 cA']  
X:1
L:1/8
M:2/2
K:G
 G2 | G2 Bc d2 ef | f2 ef d3 d | g2 ff e2 ag | Tf>e d^c d3 d | g2 gf g2 df | e>d ec B3 G | 
 FAAB c2 BA | Addd d2 cB | Aggf Te2 dc | B2 cA G3 B | cBcd g3 B | cB AG D3 c | Bggf Te2 dc | 
 B2 cA G2 ||  