A key obervation is that
Squaring x + y + z = 7, dividing it by x2 + y2 + z2 = 19, and canceling common factors gives
Hence r = 5/3 or 3/5. In the first case, substituting in the first equation gives a = 9/7 and in the second case we have a = 25/7. This gives the geometric sequences 9/7, 15/7, 25/7 and 25/7, 15/7, 9/7 (which are the reverse of each other).