If the slope of line f is 2, and a line d is perpendicular to the line f, what is the slope of line d?

If the slope of line d is denoted by s, and line d is perpendicular to f, then the product of the slopes is -1, or

2*s=-1
from which we get s=-1/2.