Calculating the Value of x and Finding the 20th term