Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:6/8
K:D
['A d>ef e>dc', 'd2 e'  
X:1
L:1/8
M:6/8
K:D
|: A | d>ef e>dc | Bcd A2 F | G>AB Ade | fdf e2 A | d>ef e>dc | B>cd A2 F | GAB Adf | eBc d2 :| e | 
 f2 f d>ef | a>gf e3 | d2 d Bcd | fed c3 | B>GB dcB | AFA d2 e | f>ef a2 f | fed eag | f<af d>ef | 
 a>gf e3 | d3 Bcd | fed c3 | B>GB d>cB | A>FA d2 e | f>gf fcd | eBc d2 |]  