Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
['fg (ab)ag (fd)df (gf)ed (cA)Af (ab)ag (fe)df', 'd2 de (fd)ge fddf (gf)ed (cA)Ag (fd)ge'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
 fg | (ab)ag (fd)df | (gf)ed (cA)Af | (ab)ag (fe)df | Bece d2 :| de | (fd)ge fddf | (gf)ed (cA)Ag | 
 (fd)ge (fe)df | (Be)ce (de)fg | (fd)ge (fd)df | (gf)ed (cB)Ag | (fa)gf (gb)ag | fgef d2 |]  