To find the slope of a line from its equation, you have to put the equation in the form

Where m is the slope
Since the given equation is

Add 7y to both sides

Add 5 to both sides

Switch the 2 sides

Divide all terms on both sides by 7

The slope of the given line is

Since parallel lines have the same slopes, then
The slope of the parallel line is 2/7
Since the product of the slopes of the perpendicular lines is -1, then
To find the slope of the perpendicular line reciprocal of the value and change the sine
Then the slope of the perpendicular line is

The slope of the perpendicular line is -7/2