Weight Scale

im trying to create a weight scale where the user can change the weight amount of two different objects, then the scale obviously leans to the side with the higher weight

if any one can help out or point me in the direction of a good tutorial
it will be greatly appreciated

thanks