Your images are broken, but if you just want to set the angle of an object dependent on the position of a slider, just use this formula:
angle = ((slider current X - slider initial X) * constant)
Where 'constant' will change depending on how much you want it to turn for some movement of the slider.