\(A=\frac{3x^2+3xy+3y^2-2x^2-4xy-2y^2}{x^2+xy+y^2}=3-\frac{2\left(x+y\right)^2}{x^2+xy+y^2}\le3\)
\(A=\frac{\frac{1}{3}x^2+\frac{1}{3}xy+\frac{1}{3}y^2+\frac{2}{3}x^2-\frac{4}{3}xy+\frac{2}{3}y^2}{x^2+xy+y^2}=\frac{1}{3}+\frac{\frac{2}{3}\left(x-y\right)^2}{x^2+xy+y^2}\ge\frac{1}{3}\)