So I am having a problem with a following problem:
Let there be matrix $J\in\mathbb{R}^{n\times n}$, which has number $1$ everywhere. Solve the equation for $X$: $J-X=JX$.
I think I have to apply a trace of a matrix, but I am not sure how, since you have a product of matrices on the right side.