Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:D
['d c d']  
X:1
L:1/8
M:2/4
K:D
 (D/E/) | F d c d | B A A A | F d c d | B3 D/ E/ | F/ F/ d c d | B (B/A/) F D/ E/ | F/ F/ D B, C | 
 (D>E) F3/2 E/ | F/ F/ D B, C | D3 |]  