Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
M:4/4
K:C
['dcBA FEFA', 'fdBc dcde'  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:D] dud[Q:1/8=360]dcBA FEFA | dcde fgfe | dcBA FEFA | BdcA B2 Bc | dcBA FEFA | dcde fgfe | 
 dcBA FEFA | BdcA Bcde || fdBc dcde | fabf afea | fdBc dcde | fbaf e2 de | fdBc dcde | fabf afea | 
 bf f2 af f2 | bfaf e2 ||  