Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:2/2
K:D
['(ab)ag (fd)df', '(fd)ge (fd)df', '(d g) (fd)ge (fd)df (gB)ed (cA)Ag (fd)ge'  
X:1
L:1/8
M:2/2
K:D
 uf | (ab)ag (fd)df | (gB)ed (cA)Af | (ab)ag (fd)df | B/B/B (cA) d2 (d :| ug) | (fd)ge (fd)df | 
 (gB)ed (cA)Ag | (fd)ge (fd)df | B/B/B (cA) d2 (d |] g) | (fd)ge (fd)df | (gB)ed (cA)Ag | 
 (fd)ge (fd)fa | B/B/B (cA) d2 d"_Fine""^D.C." |]  