Equations involving sinx + cosx and sinx.cosx