6xy (1/2x ^2 - 1/2xy + 1/2y ^2 )
is this correct on what you typed above -> \(\bf 6xy\left( \cfrac{1}{2x^2}-\cfrac{1}{2xy}+\cfrac{1}{2y^2} \right) ?\)