Given the equation 2x+2/y=4w+2, what is the value of x?

Solution:
The value of x is x=2yw+y-1
Explanation:
We have been given the equation
[tex]\frac{2x+2}{y}=4w+2[/tex]
In order to solve it for x, first of all we can multiply both sides by y to get rid of y from the denominator.
[tex]\frac{2x+2}{y}\times y=(4w+2)y\\\\2x+2=y(4w+2)[/tex]
Now, distributing y over the parenthesis in the right hand side of the equation
[tex]2x+2=4yw+2y[/tex]
Subtract 2 to both sides of the equation
[tex]2x=4yw+2y-2[/tex]
Now, divide both sides by 2 to isolate x
[tex]x=2yw+y-1[/tex]
Thus, B is the correct option.