Let $B \in M_n$ be any matrix with minimal polynomial $m(x)=(x+1)^2$. Find $x,y \in \mathbb C$ such that $$B^{150}=xB+yI$$
I don't know how to approach this problem, I have an idea that one should use the Lagrange-Hermite Interpolation here but I don't get the idea on how one should apply it so maybe there's other method. Any help and hints would be much much appreaciated. Thanks!