The difference between contrast and compare can be reduced to the search for elements that two things do not have in common and the search for elements that two things do have in common, respectively.
In this statement, we read that Fred Sanford was an advocate of industrial expansion. We also know that George Mayfield was an environmentalist. These two pieces of information contrast the two men by revealing a key difference between them.