To solve an equation with one variable, you must use the inverse order of operations to get the variable alone. This means you must try to cancel out the constants and variables on either side of the equation in order to get the variable on one side of the equation and the constants on the other side of the equation, so that you can determine the value for the variable. I have provided an example below:
3x - 5 = 10
To begin to solve this equation, we must begin by adding 5 to both sides of the equation. We do this so that we can get the variable term alone on the left side of the equation and move the constant terms to the right side of the situation.
3x - 5 + 5 = 10 + 5
3x = 15
Next, we should divide both sides by 3 to cancel out the multiplication on the left side of the equation and get the variable x completely alone.
3x/3 = 15/3
x = 5
Therefore, your answer is 5.
If you need any more help with solving these types of equations, feel free to ask.
Hope this helps!