[tex]y = x + \frac{z}{3} \\ = > y - x = \frac{z}{3} \\ = > z = 3(y - x) \\ = > z = 3y - 3x[/tex]
Hope you could get an idea from here.
Doubt clarification - use comment section.