Given the polynomial \( P(x) = 4x^4 + 8x^3 + 7x^2 + 6x + k \) and knowing that \( x = -1 \) is a root of \( P(x) \), find the value of \( k \). Let's think step by step and output the final answer within \boxed{}.
user