Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:G
['d2 de', 'BAGB AGEG'  
X:1
L:1/8
M:2/2
K:G
 (Bd)de d2 de | fdef d2 (ef) | d2 BA GABG | AG [GB]2 ([G-A][GB])[GB]A | (Bd)de d2 de | fdef d2 B2 | 
 d2 de dBG[GB] | AGEG DEGG || (_B=B)Bc BAGB | AGEG DEGA | B2 [Bg]2 BAGB | AGEG DEGB | 
 (_B=B)Bc BAGB | AGEG DEGA | B2 [Bg]2 BAGG | AGEG DE G2 | (_B=B) B2 BAGB | AGEG DEGA | Bdde dBGB | 
 AGEG DEGA ||  