What is the first step in the solution of 3x2+6x=12 by completing the square?
A: r3+r=2
B: r2+2r=4
C: 3r2+6r+9=12+9
D: 3r2+6r+36=12+36