For the general case, you can't. You need one equation for each unknown. If you've got one unknown, then trivially a = 123.4 is also the answer. If you've got two, then 3a + 2b = 10, 2a + 3b = 20. So how do we solve? The answer is that if we add them, we get 5a + 5b = 30. That doesn't help. But if we scale one equation so that the a's cancel, that tells us b. So in this case, multiply by two 6a + 4b = 20. Now multiply the other one by minus three -6a -9b = -60. Now add and the a's disappear -5b = -40. So 5b = 40, 1b = 8, and we now simply substitute b back to find a.
This method scales up to any number of variables, as long as you have an independent equation for each variable.