Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:D
['B<A A>D', '', 'd>e f2 d>e f>b a>g f>e'  
X:1
L:1/8
M:4/4
K:D
 A,/B,/C | D2 d>c B<A A>D | F<A A>D B<A A>D | F>A A/B/c d2 c/B/A | F<B B>A B2 A,/B,/C | 
 D2 d>c B<A A>D | E/F/A F/E/D B,2 D>E | F>A d>D B>A F>E | E/F/E D2 D2 :| A/B/c |: d>e f2 d>e f>b | 
 a>g f>e d<B B>A | d>e f>A F<E E>F | D<B, B,>E D<B, B,>D |1 d>e f2 d>e f>b | a>g f>e d>c d/e/f | 
 g>d B/c/d d>D F>A | F<E E>A F<E A/B/c :|2 D2 d>c B<A A>D | E/F/A F/E/D B,2 D>E | F>A d>D B>A F>E | 
 E/F/E D2 D2 :|  