First of all, that is not a problem, because you are not even asking for anything. Are you trying to figure out m and n? Secondly, can we see the work you have already done? The simple method here is synthetic division, which I suppose you have learned since you are coming across this type of question. You can utilize synthetic division and the two pieces of information on x+1 and x-1 to develop a system of equations.

Please show us the work you have done so far on the problem.