Answer:
W located in the middle of the ruler, R located at 10cm from the pivot point.
See the attached image.
Explanation:
To solve this problem we have to perform a free body diagram symbolizing each of the forces that act on the bar in balance.
In the attached image we can see the free body diagram.