How do you find the critical points to graph y=2cos2x?