the slope formula with two points is

where (x2,y2) is the rightmost point between them and (x1,y1) the other point
in this case (x2,y2)=(9,1)
so

to find the slope of a perpendicular line you just change the sign of the slope and you reverse the number
so the slop of the perpendicular line is
