Given x≥0x \geq 0x≥0 and y≥0y \geq 0y≥0, and x+2y=12x+2 y=\frac{1}{2}x+2y=21, determine the maximum value of the function u=log12(8xy+4y2+1)u=\log _{\frac{1}{2}}\left(8 x y+4 y^{2}+1\right)u=log21(8.