How to eliminate the effect of a correlating variable

I have two variables with a very strong negative correlation (on the order of -.80). Variable A is my key variable, the variable I want to use for measurement purposes, it is a percentage; I would like to come up with some way to remove the dependence on the second variable (an integer between 1 and 180). Any thoughts?