simplify the expression sin(theta+pi/4) + sin(theta-pi/4)