Draw a line segment PQ of length 5 cm.
At P, draw a ray PX by making an angle of 60∘ with PQ (according to the given condition, R lies on ray PX).
At Q, draw a ray QY by making an angle of 45∘ with PQ (according to the given condition, R also lies on ray QY).
The intersection point of ray PX and QY is the point where R lies.