Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:2/2
K:Amin
['', 'G2 ^FG', 'Bc d2'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:Amin
 (3DE^F |: G2 ^FG EGDF | G2 BG dGBG | G2 ^FG EFDc | Beed BcAB | G2 ^FG EFDF | GABc dBAB | 
 G2 ^FG EFDA | Beed B2 A2 || BAGA Bc d2 | Beed Bc d2 | BAGA Bc d2 | Beed B2 A2 | BAGA Bc d2 | 
 Beed Bc d2 | G2 GB A2 Ac | Beed B2 A2 |]  