Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/4
M:4/4
K:F
['d d']  
X:1
L:1/4
M:4/4
K:F
 d d c (d/f/) | d d D E | G G E D | C3 C/C/ | F F G G | (A c) d c | A c E E | D2 z2 |]  