What is the total differential of #z=x^2+2y^2-2xy+2x-4y-8#?