I'm not asking anyone to solve the problem, I just want to understand it.
At first I thought I just had to change bases, but it seems that I have to do something else (and that's why they've given $M$ and $N$).
The notations $N$, $M$ and $r$ are given below.

