Write it as #x (x-2*x)# and apply the product rule to this product.
Explanation:
You are given #x*x-2x^2# and this is a sum not a product, so you cannot apply directly the product rule; in order to apply the product rule you need to transform it first into a product.