Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['d(c)(B)A B(A)(G)F E(D)(C)B, D(F)(E)G .F2 .D2'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 (dc) |"D" .d2 .D2 .D2 (AG) | (FA) (dc) (df) (ed) |"E" .e2 .E2 .E2 (ed) |"A" (ce) .A2 A2 (.B.c) | 
"G" d(c)(B)A B(A)(G)F | G(F)(E)D"G" E(D)(C)B, |"D" A,(D)(C)E"A7" D(F)(E)G |"D" .F2 .D2 .D2 :: 
 .A.G |"D" F(A)(d)A F(A)(d)A |"G" .B2 .G2 .G2 .B.A |"E" ^G(B)(e)B G(B)(e)B |"A" .c2 .A2 .A2 .B.c | 
"G" d(c)(B)A B(A)(G)F | G(F)(E)D"A" E(D)(C)B, |"D" A,(D)(C)E"A7" D(F)(E)G |"D" .F2 .D2 .D2 :|  