Unless you mean something else you can solve exactly if you know y and z (or to the tolerance of your numerical representaion for e.g. float)
x = -(y+z)
if you don't know y and z then there are infinite possible answers
i'm guessing the question is missing something?