Nine more then three times a certain number is 12. Write an equation for this statement and solve it to find the number.

3x + 9 = 12

I will leave the solving of this trivial equation up to you