Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:4/4
K:G
['cAAc BDGB cBcA (3Bcd', 'BGga bgaf g2 fg eaag a2 ga'  
X:1
L:1/8
M:4/4
K:G
 B2 GA Bcdg | egdB cAAc | BDGB cBcA | (3Bcd gd BGGA | (3Bcd Bd ceAc | (3Bcd Bd cAAc | BDGB cBcA | 
 (3Bcd gd BGga || bgaf g2 fg | eaag a2 ga | bgaf gfed | cdef g3 a | bg (3gfg ageg | eaag a3 b | 
 c'abg agef | gbaf gedc ||  