Construct melodic segments by incorporating the provided motif with the designated musical pattern.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['=cBcG Ec c2 A,DFA', 'BG G2', 'B2 G,CEG', 'AB c2 cA Bcdf ecdB GccB cecA'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 D2 FA d2 dB | =cBcG Ec c2 | A,DFA dcde | fdec Adce | d3 A FAdB | =cBcG Ec c2 | A,DFA dcAG | 
 EFCE D2 FA || d2 Bd cBAc | BG G2 A2 Bc | d2 dB cdeg | fdec Addc | dfdB =cece | BG G2 Adeg | 
 fdce dcAB | =c2 dB cAGE |"^last time" D8 |][K:C]"^source version" G,CEG c2 cA | _BABF DB B2 | 
 G,CEG cBcd | ecdB GcBd | c3 G EGcA | _BABF DB B2 | G,CEG cBGF | DEB,D C2 EG || c2 Ac BAGB | 
 AF F2 G2 AB | c2 cA Bcdf | ecdB GccB | cecA _BdBd | AF F2 Gcdf | ecBd cBGA | _B2 cA BGFD | 
"^last time" C8 |]  