Solve for x in the following system.

6x + 6y = -2
y = x

I'm not sure how to get x, because when I tried it left me with both y and x

y = -x*

6x+6y=-2

x=y
6y+6y=-2
12y=-2
y=-1/6
☺☺☺☺

To solve for x in the given system of equations, we can use the method of substitution. Here's how you can solve it step by step:

1. Start with the second equation: y = x. This equation represents a direct substitution for y.

2. Substitute the value of y in the first equation with x: 6x + 6y = -2 becomes 6x + 6(x) = -2.

3. Simplify the equation by distributing the 6: 6x + 6x = -2.

4. Combine like terms: 12x = -2.

5. Divide both sides of the equation by 12 to isolate x: x = -2/12.

6. Simplify the expression: x = -1/6.

So the solution to the system of equations is x = -1/6.

Keep in mind that the solution includes both x and y, but you only asked for x.

6x + 6y = -2

6x = -2 - 6y

x = (-2 - 6y)/6

x - -2/6 - y