Algebra Examples

Factor by Grouping mr+ns-nr-ms
I am unable to solve this problem.