Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=128
M:4/4
K:C
['f>g f2']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:C
|: G2 c2 e>d c2 | A2 F>A G4 | G2 c2 e>d c2 | d2 d>e d4 | G2 c2 e>d c2 | A2 F>A G4 | A2 F>A G>c e2 | 
 d>c B2 c4 | e2 c2 G>c e2 | f>g f2 e4 | f>g f2 e>f e2 | d>e d2 d4 | e2 c2 G>c e2 | f>g f2 e4 | 
 f>g f2 e>f e2 | d>e d2 c4 :|  