How do you solve the following equation #cosx(2sinx+1)=0# in the interval [0, 2pi]?