Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:2/4
K:G
['DB AG', 'BB B2'  
X:1
L:1/8
M:2/4
K:G
 DB AG | D3 D/D/ | DB AG | E4 | Ec BA | F4 | dd cA | B4 | DB AG | D4 | DB AG | E3 E | Ec BA | 
 dd dd | ed cA | G2 z2 |: BB B2 | BB B2 | Bd G>A | B4 | cc c>c | cB BB/B/ |1 BA AB | A2 d2 :|2 
 dd cA | G4 |]  