We observe here that `2sqrt(2)xy and -8zx` are negative terms in the given expression and x occurs in both the terms.
So, we wire ` 2x^2 " as " (-sqrt(2x))^2`.
`therefore 2x^2+y^2+8z^2-2sqrt(2)xy+4sqrt(2)yz-8zx`
`=(-sqrt(2x))^2+y^2(2sqrt(2)z)^2+{2xx(-sqrt(2)x)xxy}+{2xxy xx (2sqrt(2)z)}+{2xx(2sqrt(2)z)xx(-sqrt(2)x)}`
`=(-sqrt(2)x+y+2sqrt(2)z)^2`.