4x-2=10

4 x 2 - 2 =10

B=10

You have two different equations. Where does B come from?

4x - 2 = 10

4x = 12

x = 3

4x^2 - 2 = 10

4x^2 = 12

x^2 = 3

x = √3 = 1.7321