Profit is revenue minus cost.
P(x) = R(x) - C(x)
Simply line up the terms in each function, and subtract, to get P(x):
(-0.6x2 + 19x)
-(0.4x2 - 29x + 44)
-0.6x2 + 19x
+0.4x2 + 29x - 44
---------------------
-0.2x2 + 48x - 44 = P(x)