Verified Answer :

3x+312
3x+36

You just need to do the multiplication separately !

Use the distribution property:

3 (x+12) 
Distribute the 3
(3)x+(3)*12
Simplify
3x+36