Write an equation in slope-intercept form of a linear function f whose graph satisfies the given conditions. The graph of f passes through (-1, 5) and is perpendicular to the line whose equation is x = 6. Question options:
f(x) = 6
f(x) = 8
f(x) = 3
f(x) = 5