You know how to multiply polynomials right?
Let f(x), g(x) R[x]
Now if R is a field, fields have no zero divisors, so since you know thus the degree of this is the degree of f (n) plus the degree of g (m).
If the coefficients come from where m=pr (it is composite, so it has a prime factor p).
f(x) = px+1