Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:3/4
K:G
['A2 Bd/c/BA B2 A2']  
X:1
L:1/8
M:3/4
K:G
 D2 | GD G2 A2 | BA G3 B | BB d2 c2 | BB A2 A2 | Bd/c/BA B2 | A2 G2 A2 | Bd/c/BA B2 | A2 G2 |]  