Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/2=90
M:2/2
K:D
['dAFA GBAG FAFA GBAG']  
X:1
L:1/8
Q:1/2=90
M:2/2
K:D
"^key in MS shown as G major" dAFA GBAG | FAFA GBAG | FDFD GEGE | AFED CECA, | dAFA GBAG | 
 FAFA GBAG | FdBg fedc | d2 d2"^minim" d2 ::  