The teacher will be very surprised to see your correct solution 😉
2*x - cos(x) = 0
x1 = 0.450183611294874