Solution of Trignometric Equations Exercise