The slope of the line parallel to the line is -1/2 and the slope of the line perpendicular to the line is 2. This is because the slope of a parallel line is the same as the original slope and the slope of a perpendicular line is the opposite reciprocal of the original slope.