The difference between a number and three is multiplied by a negative nine. The result is thirty-six. What is the number?

Write an equation that can be used to find the number,n.
Solve the equation you wrote in part A to find the value of the number. Include all of your work in your answer.