2x^2+4.5+0.5
\(2x^2+5\\2*(x^2+2.5)\)
I like your first asnser the best solviet.
For the second one you have factorised it but you have a decimal inside the bracket.
You don't normallly do that unless you hae a good reason. :)
:D