The equation of a line given by y=a(x-5)+4. If the y intercept is -6, find the value of a.