Does "X+3=9" confuse you? What does that make X, you ask. Here's a very simple example to explore that. Play around with it. Think about it. Click the green flag to generate a new random expression. Note that, for a given randomly generated expression, the valid value of X doesn't change, if you add the same value to both sides of the expression. All code by me (@kriblo).