Find the maximum and minimum value of $x$, where:
- $x+y+z=4$
- $x^2+y^2+z^2 =6$
I thought I could use these values to form a equation having $x,y,z$ as roots and the sum of roots and $\sum{xy}$ but could not get any idea about the product of roots hence could not move ahead.