Develop melodic lines based on the specified musical pattern and the provided motif.
X:1
L:1/8
M:2/2
K:D
['A,2 A,B,', 'A2 (3AAG', 'DB, B,2', 'A2 B2'  
X:1
L:1/8
M:2/2
K:D
 A,2 A,B, DEFE | DB, B,2 DB, B,2 | A,2 A,B, DEFG | ABAF E2 D2 :: A2 (3AAG FG A2 | B2 (3BBA GA B2 | 
 A2 (3AAG FGAF | DEFD E2 D2 ::"^verse 2" A,2 A,B, DEFE | DB, B,2 DB, B,2 | A,2 A,B, DEFG | 
 ABAF E2 D2 :| A2 (3AAG FG A2 | B2 (3BBA GA B2 | A2 (3AAG FG A2 | (3DDE FD E2 D2 | A2 AG FG A2 | 
 B2 BA GABG | ABdA BdAF | DE (3FFD E2 D2 :|  