Use the given conditions to write an equation for the line in point-slope form and general form.
Passing through (1,−7) and perpendicular to the line whose equation is x−2y−5=0
Passing through (1,−7) and perpendicular to the line whose equation is x−2y−5=0