Finding a specified term of an geometric sequence given two terms of the sequence