Write an equation in​ slope-intercept form of the line satisfying the given conditions.
The line passes through ​(5​,-8​) and is perpendicular to the line whose equation is x-2y=7.