The function is 
(The original function)
(
)
(Take out
in the denominator) \ \
(Simplify)
(Cancel common term)
(Proparty of limits)
(Simplify)
(Simplify)
(The original function)
(
)
(Take out
in the denominator) \ \
(Simplify)
(Cancel common term)
(Proparty of limits)
(Simplify)
(Simplify)
Therefore 
L = K = 6.