keeping in mind that parallel lines have exactly the same slope, let's check for the slope of the equation above
so for the parallel one, we're really looking for the equation of a line whose slope is 9/7 and that it passes through (8 , 2)
now, keeping in mind that perpendicular lines have negative reciprocal slopes
so for the perpendicular line, we're really looking for the equation of a line whose slope is -7/9 and that it passes through the same (8 , 2)