Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:C
['BG (3GGG G2', 'Bd (3ddd d2'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:G] .abc(dc) | BG (3GGG G2 G2 | BGBd gdec | BG (3GGG G2 (cB) | AGFG ABcA | 
 BG (3GGG G2 G2 | BGBd g2 (fg) | afge fdec | AGFG ABcA || Bd (3ddd d2 (dc) | BGBd gdec | 
 Bd (3ddd d2 (cB) | AGFG ABcA | Bd (3ddd d2 (dc) | BGBd g2 (fg) | afge fdec | AGFG ABcA |]  