x+2=5

subtract 2. x=3

X+2=5

X=5-2
X=3

To solve the equation x + 2 = 5, we need to isolate the variable x.

Step 1: Subtract 2 from both sides of the equation to eliminate the constant term on the left side:
x + 2 - 2 = 5 - 2
x = 3

Therefore, the value of x in the equation x + 2 = 5 is 3.