You can use unirootto find the root of the function. In this case, there are several roots for both functions (actually an infinite sum), so you will need to specify an interval. You can do this with visual inspection. Let us first build the functions on the range (0,6):
fun1 <- function(x) -(2 * (sin(x) * cos(x)))
fun2 <- function(x) 2 * (cos(x) * sin(x))
x = seq(0,6,0.01)
plot(x,fun1(x),col='blue')
points(x,fun2(x),col='red')

, , fun1 fun2 y=0 , , c(1,2). x -, y = 0 :
uniroot(fun1,c(1,2))$root
uniroot(fun2,c(1,2))$root
1.570795, x-value, fun1(x) = fun2(x) = 0. , !