Solving for the Value of x