solve by substitution

y=0.5x+2
-y=-2x+4

I recommend you learn to spell algebra

add the equations:

0=-1.5x+6 or x=4
then y-.5x+2

can you explain

To solve the system of equations by substitution, we need to manipulate one of the equations so that one variable is isolated.

Let's start by isolating y in the second equation. Multiply every term in the equation by -1 to get:

-y = -2x + 4

Now, you have:

y = 2x - 4

Since both equations are equal to y, we can equate the expressions for y:

0.5x + 2 = 2x - 4

Next, we can solve for x. Start by moving all the terms involving x to one side of the equation and the constant terms to the other side:

0.5x - 2x = -4 - 2

Combine like terms:

-1.5x = -6

To isolate x, divide both sides of the equation by -1.5:

x = (-6)/(-1.5)

Dividing both numerator and denominator by 1.5:

x = 4

Now that we have the value of x, we can substitute it back into one of the original equations to find the corresponding value of y. Let's use the first equation:

y = 0.5(4) + 2
y = 2 + 2
y = 4

Therefore, the solution to the system of equations is x = 4 and y = 4.