Derive an expression for the voltage across R when the sliding contact is in the middle of the potentiometer

Derive an expression for the voltage across R when the sliding contact is in the middle of the potentiometer