i don't understand how to do these

1+3x-x=x-4+2z
3+3x-(x-2)=3x+4

Combine similar terms (constants; terms that end in x; etc).

In the first case, you end up with
1 + 2x = x - 4 + 2z
which can be rewritten
5 + x = 2z

To solve these equations, we need to follow a systematic approach called the order of operations or BEDMAS (Brackets, Exponents, Division and Multiplication, Addition and Subtraction). Here's how we can solve each equation step by step:

1. 1 + 3x - x = x - 4 + 2z

First, we simplify both sides of the equation:

1. Combine like terms on the left side: 1 + 3x - x = 2x + 1
2. Combine like terms on the right side: x - 4 + 2z

Now, let's group the x terms on one side and the constant terms on the other side:

2x + 1 = x - 4 + 2z

To isolate the variables, we'll eliminate the x term from one side of the equation. We can do this by subtracting x from both sides:

2x - x + 1 = x - x - 4 + 2z

Simplifying further:

x + 1 = -4 + 2z

Now, let's isolate x by subtracting 1 from both sides:

x + 1 - 1 = -4 + 2z - 1

Simplifying:

x = -5 + 2z

Therefore, the solution to the equation is x = -5 + 2z.

2. 3 + 3x - (x - 2) = 3x + 4

To solve this equation, we start by simplifying the brackets:

3 + 3x - x + 2 = 3x + 4

Now, let's simplify both sides of the equation:

3 + 2x + 2 = 3x + 4

Combine like terms on the left side:

5 + 2x = 3x + 4

To isolate the x term, we'll eliminate the x term from one side of the equation. We can do this by subtracting 2x from both sides:

5 + 2x - 2x = 3x - 2x + 4

Simplifying:

5 = x + 4

Next, let's isolate x by subtracting 4 from both sides:

5 - 4 = x + 4 - 4

Simplifying:

1 = x

Therefore, the solution to the equation is x = 1.