you times matrix R by 5 and matrix A by 2, and then do the subtraction, right?
Yes, but you should remember that both R and A should be of the same size. If R is $\displaystyle n \times n$, then A should also be $\displaystyle n \times n$, else subtraction wont be possible!