Text this: Simultaneous Pell equations x2 - my2 = 1 and y2 - pz2 = 1