find the value of x.