You have known the formula Length of base is la division of Area and a haft of the height.
So we have 3
[tex](3 {x}^{2} - x + 12) \div ( \frac{1}{2} \times 6x)[/tex]
or
[tex](3 {x}^{2} - x + 12) \div 3x[/tex]
[tex]3 {x}^{2} \div 3x +( - x \div 3x) + 12 \div 3x[/tex]
and
[tex]x - \frac{1}{3} + \frac{4}{x} [/tex]
have fun