The teacher will be very surprised to see your correct solution 😉

Detail solution

Given the linear equation:

Move free summands (without x)

from left part to right part, we given:

$$2 x = 2$$

Divide both parts of the equation by 2

We get the answer: x = 1

2*x-2 = 0

Move free summands (without x)

from left part to right part, we given:

$$2 x = 2$$

Divide both parts of the equation by 2

x = 2 / (2)

We get the answer: x = 1

The graph