Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
Q:1/8=150
M:3/4
K:D
['F2 D2 D F']  
X:1
L:1/4
Q:1/8=150
M:3/4
K:D
 D | D D2 | A,2 F | F F2 | D2 D | F A2 | A G F | E2 E | F G2 | G2 F | E F2 | D2 D | F E2 | A,2 C | 
 E D2 |]  