Determining the value of x