f(x)=3(y^2-4/3y+4/9)+2-4/3
=3(y-2/3)^2+2/3
And the range of y is 0.
Therefore, when y= 1/2, the minimum value of f(x) is 3/4.