Write the slope-intercept equation of the function f whose graph satisfies the given conditions.
The graph of f passes through (-8,6) and is perpendicular to the line that has an x-intercept of 4 and a y-intercept of -8.
The equation of the function is
(Use integers or fractions for any numbers in the equation.)