Point R divides the line segment PQ internally. The x-coordinate of the point which divides the line segment in ration m:n internally can be calculated as:
Here, x1 is the x-coordinate of 1st point, x2 is the x-coordinate of 2nd point, x is the x-coordinate of point dividing the segment. We have all the values except x2. Using the given values in above formula, we get: