The meaning of perpendicular lines, are two straight lines that intercept each other. Their slopes are opposute reciprocal, meaning that it's multiplication is -1.
If the slope of line p is 2, then the slope of line q is -1/2.
The correct answer is letter B, -1/2.