How to solve linear equation with binary tree
For solving this question you should assume a tree with '=' root
And in the left side of root push factors of x and in the right side push your constant values, now variable x is equal to sum of right side division by left side.