Finding the value of x when given y and x