Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/4
M:4/4
K:F
['E F']  
X:1
L:1/4
M:4/4
K:F
 C | C F E F | G A F2 | F/ F/ z G z | A/ F/ z z C | D F E F | G A F2 | c/ c/ z =B z | c2 z A | 
 f e d c | d c B A | B A G F | G F D2 | (3D E F C2 | D/ F3/2 C2 | D/ D/ z E z | F2 z2 |]  