Given the function:
\[ f(x) = \begin{cases} \frac{(2x^2 - ax +1) - (ax^2 + 3bx + 2)}{x+1}, & \text{if } x \neq -1 \\ k, & \text{if } x = -1 \end{cases} \]
If \( a, b, k \in \mathbb{R} \) and \( f(x) \) is continuous for all \( x \), then the value of \( k \) is:
If \( f(x) \) is given as: \( f(x) = \begin{cases} 3ax - 2b, & x<1 ax + b + 1, & x<1 \end{cases} \) and \( \lim_{x \to 1} f(x) \) exists, then the relation between \( a \) and \( b \) is: