how to find X value in maths