Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:2/4
K:Bb
['f3 d g2 fg']  
X:1
L:1/8
M:2/4
K:Bb
 ccfd/c/ | c4- | c3 d | bdc z | bcca/g/ | f3 d | g2 fg | c4 | f/d/c/d/f/d/f/g/ | cg/c<ag/ | f3 d | 
 g2 fg | c4 |]  