Well since we put -x+y=5 into y=mx+b form y=x+5 we can see the slope is 1. a line perpendicular to that would have a slope of -1. So use that and your point to find the equation.
y+5=-1(x-2)
simplify that