I find x = y = 4*sqrt(C)/(6*sqrt(2)), and z = 3*sqrt(C)/(6*sqrt(2)), which probably doesn't help. xD

Anyway, were you taught about Lagrangian multiplicators/functions?