My solution was very naive:
Let $N = 100$. Then, $M = 150$. Then, $$\frac{N}{N+M}= \frac{100}{100+150}= 0.40$$ which corresponds to $40\%$. Therefore $N$ corresponds to $40\%$ of $M + N$.
I think the solutions is wrong. I need help to find my mistake. Please help me.