Please note thta I can re-write the equation of the line which you have provided, as below:

y = (-1/7) x -7

then the slope M of that line is M= -1/7.

Now in order to write the equation of the line perpendicular to the line above, we have set M' = 7, where M' is the slope of the line perpendicular to the line above. So using your numerical data, I can write:

y - 6 = 7 ( x-2)

and after a simplification, I get:

y = 7x -8

Next, to write the line parallel to the line which you have provided, plese note that we have to use the slope M' = -1/7, since parallel lines have the same slope. So using again your numerical data, I can write: