voltage divider two unknown resistors
A big hint (since this is a homework question). 

The voltage varies from A to B, so the variation is (B - A) volts. That should give you a good idea as to what the current through the divider must be...