Use rise/run to find the original slope of this function. The rise is -1 and the run is 2, so you divide these and get -1/2. To find the perpendicular slope, flip the sign (from negative to positive) and find the reciprocal of this (1/2 becomes 2 because you flip the fraction).