12x^2+6 divided by 24x+12 need help

12 x^2 + 6 = 6 (2 x^2 +1)

24 x + 12 = 12 (2 x + 1)
are you sure there is no typo?
I bet that second expression should be 24x^2+12