Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=350
M:2/4
K:G
['d2 (3(efg) fedf ecBc', 'd2 BGGB cAAc'  
X:1
L:1/8
Q:1/8=350
M:2/4
K:G
 d2 (3(efg) | fedf | ecBc | d2 d2 :: BGGB | cAAc | BGGB | d2 d2 | BGGB | cAAc | BGAF | G2 G2 :|  