The function f(x)=Ae−bx+k represents the temperature of a cooling component. The graph of the function shows the curve passing through the y -intercept at (0,6) and approaching a horizontal asymptote at y=−4 as x tends to ∞ (x→∞). Determine the value of the constant A.