The value of n is both 5 times as much as the value of m and 36 more than the value of m. What are the values of n and m? Explain.