if you wanna solve for m you have get m by him self.
m-n = 5
m-n+n = 5+n
m = 5+ n
there is your answer. hope it is heplful