1)If the tangent line is horizontal then it has no slope or a slope of 0. So in order to find out where the slope is zero, in this case, set -2x+5=0

2)If the tangent line is verical then we have divided by zero because there is an infinite slope. In this case, we need the denomiator to equal zero so find out what value of y makes it so.