Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=232
M:4/4
K:F
['AB cA FA cA fd cf Ac', 'fg af dg bg ec GA Bd'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:F
|: AB | cA FA cA fd | cf Ac ag fe | fg dg ba gf | (3(gag) (3(fed) c2 AB | cA FA cA fd | 
 cf Ac ag fe | fg dg ba ge | f2 a2 f2 :: fg | af dg bg ec | GA Bd fc AF | CF Ac df eg | 
 fa ge c2 fg | af dg bg ec | GA Bd fc AF | CF Ac df eg | fe de f2 :|  