If Q(0,1) is equidistant from P(5,−3) and R(x,6), find the values of x. Also find the distances QR and PQ.