Example 8 : Common factor of x^2y and – xy^2 is xy.