Substitute y for 10 in the equation and solve using these steps:
10=4x+2
1) Minus 2 from both sides
8=4x
2) Divide both sides by 4 (the coefficient of x)
2=x
The value of x is 2 and we can check this by substituting it back into the original equation, 10 = (4×2)+2.