What is nx-m equals p for x?

nx - m = p so x = (m+p)/n