find x and y such that 4, x, y, 31 is part of an arithmetic sequence. then find x and y so that the sequence is part of a geometric sequence. (warning: x and y might not be integers.)