Finding Horizontal And Vertical Tangent Lines