Develop a musical composition centered around the provided motif while maintaining the appropriate form.
X:1
L:1/8
M:2/2
K:G
['D(G{A}G)F D(G{A}G)F =F2 AF cFAF D(G{A}G)F DGGg', 'dfaf g2 bg dgbg agfa g2 (ga)'  
X:1
L:1/8
M:2/2
K:G
 D(G{A}G)F D(G{A}G)F | =F2 AF cFAF | D(G{A}G)F DGGg |1 fdcA BGAF :|2 fdcA BG G2 || g2 bg dgbg | 
 f2 af dfaf | g2 bg dgbg | agfa g2 (ga) | bgaf gdde | fefd cAGF | dggf (3gab ag | 
 fdcA BGA"_D.C."F"^segno" |]  