\(a,=\left(a+5+\dfrac{1}{2}-a\right)^2=\left(\dfrac{11}{2}\right)^2=\dfrac{121}{4}\\ b,=\dfrac{\left(x+y\right)^2-16}{3x\left(x-4+y\right)}=\dfrac{\left(x+y-4\right)\left(x+y+4\right)}{3x\left(x+y-4\right)}=\dfrac{x+y+4}{3x}\)
a, \(\left(a+5\right)^2+2\left(a+5\right)\left(\dfrac{1}{2}-a\right)+\left(\dfrac{1}{2}-a\right)^2=\left(a+5+\dfrac{1}{2}-a\right)^2=\left(\dfrac{11}{2}\right)^2=\dfrac{121}{4}\)
b,\(\dfrac{x^2-16+2xy+y^2}{3x^2-12x+3xy}=\dfrac{\left(x^2+2xy+y^2\right)-4^2}{3x\left(x-4+y\right)}=\dfrac{\left(x+y-4\right)\left(x+y+4\right)}{3x\left(x+y-4\right)}=\dfrac{x+y+4}{3x}\)